Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo", uses=false) Using package FluxTubesExtension with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(FluxTubesExtension.Examples.SaturatedInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor") translateModel(FluxTubesExtension.Examples.SaturatedInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 194.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.007543/0.007543, allocations: 1.233 MB / 291.6 MB, free: 1.074 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 63.91 kB / 352.3 MB, free: 1.742 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1017, allocations: 49.7 MB / 402 MB, free: 4 kB / 286.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.SaturatedInductor): time 0.1837/0.2855, allocations: 2.793 MB / 404.8 MB, free: 8.719 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002035/0.2875, allocations: 1.64 MB / 406.5 MB, free: 7.559 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.2877, allocations: 4.719 kB / 406.5 MB, free: 7.559 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006292/0.2883, allocations: 193.6 kB / 406.6 MB, free: 7.477 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.2885, allocations: 99.16 kB / 406.7 MB, free: 7.406 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000565/0.2891, allocations: 285.6 kB / 407 MB, free: 7.266 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004273/0.2895, allocations: 392.2 kB / 407.4 MB, free: 7.082 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001878/0.2897, allocations: 117.1 kB / 407.5 MB, free: 7.023 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.2899, allocations: 139.3 kB / 407.7 MB, free: 6.957 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.2901, allocations: 169.4 kB / 407.8 MB, free: 6.867 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.245e-05/0.2901, allocations: 33.03 kB / 407.9 MB, free: 6.863 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003219/0.2904, allocations: 186.5 kB / 408 MB, free: 6.809 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.313e-05/0.2905, allocations: 82.11 kB / 408.1 MB, free: 6.758 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.2907, allocations: 173.3 kB / 408.3 MB, free: 6.648 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005009/0.2912, allocations: 451 kB / 408.7 MB, free: 6.465 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2912, allocations: 3.453 kB / 408.7 MB, free: 6.465 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2912, allocations: 0 / 408.7 MB, free: 6.465 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.727e-06/0.2912, allocations: 0 / 408.7 MB, free: 6.465 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.000898/0.2921, allocations: 0.6576 MB / 409.4 MB, free: 5.926 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.2922, allocations: 13.41 kB / 409.4 MB, free: 5.922 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.997e-05/0.2922, allocations: 40.03 kB / 409.4 MB, free: 5.902 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.2925, allocations: 273.1 kB / 409.7 MB, free: 5.645 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.2925, allocations: 23.66 kB / 409.7 MB, free: 5.633 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.413e-05/0.2926, allocations: 38.08 kB / 409.8 MB, free: 5.613 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004697/0.293, allocations: 269 kB / 410 MB, free: 5.5 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.2931, allocations: 0 / 410 MB, free: 5.5 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.542e-05/0.2931, allocations: 11.34 kB / 410 MB, free: 5.492 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.2931, allocations: 6.844 kB / 410 MB, free: 5.492 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004743/0.2936, allocations: 248.2 kB / 410.3 MB, free: 5.414 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001518/0.2951, allocations: 1.075 MB / 411.4 MB, free: 4.68 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004457/0.2956, allocations: 247.7 kB / 411.6 MB, free: 4.582 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002417/0.2958, allocations: 128.8 kB / 411.7 MB, free: 4.535 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.267e-05/0.2959, allocations: 15.05 kB / 411.7 MB, free: 4.535 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.2959, allocations: 40.28 kB / 411.8 MB, free: 4.488 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 1.342e-06/0.2959, allocations: 0 / 411.8 MB, free: 4.488 MB / 286.1 MB Notification: Performance of matching and sorting (n=34): time 0.004216/0.3001, allocations: 1.631 MB / 413.4 MB, free: 3.703 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.3002, allocations: 55.53 kB / 413.5 MB, free: 3.641 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002903/0.3005, allocations: 281.8 kB / 413.7 MB, free: 3.477 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.3005, allocations: 35.08 kB / 413.8 MB, free: 3.438 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.3006, allocations: 196.3 kB / 414 MB, free: 3.27 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.076e-05/0.3007, allocations: 118.3 kB / 414.1 MB, free: 3.176 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.3008, allocations: 63.72 kB / 414.1 MB, free: 3.137 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.425e-05/0.3009, allocations: 343.6 kB / 414.5 MB, free: 2.809 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002393/0.3012, allocations: 120.7 kB / 414.6 MB, free: 2.77 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002685/0.3014, allocations: 171.9 kB / 414.8 MB, free: 2.68 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005011/0.302, allocations: 300.5 kB / 415.1 MB, free: 2.535 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.302, allocations: 0.7031 kB / 415.1 MB, free: 2.535 MB / 286.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00168/0.3037, allocations: 0.6263 MB / 415.7 MB, free: 2.309 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.3037, allocations: 11.44 kB / 415.7 MB, free: 2.305 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.3037, allocations: 1.406 kB / 415.7 MB, free: 2.305 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00267/0.3064, allocations: 0.5258 MB / 416.2 MB, free: 2.215 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002813/0.3067, allocations: 59.27 kB / 416.3 MB, free: 2.211 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007797/0.3075, allocations: 1.292 MB / 417.6 MB, free: 1.051 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/0.3077, allocations: 9.812 kB / 417.6 MB, free: 1.047 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.767e-05/0.3077, allocations: 14.45 kB / 417.6 MB, free: 1.043 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,8), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001946/0.3079, allocations: 156.6 kB / 417.8 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.843e-05/0.308, allocations: 35.38 kB / 417.8 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001613/0.3096, allocations: 0.5733 MB / 418.4 MB, free: 0.668 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/0.3096, allocations: 3.688 kB / 418.4 MB, free: 0.668 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3097, allocations: 0 / 418.4 MB, free: 0.668 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.3097, allocations: 2.062 kB / 418.4 MB, free: 0.668 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00204/0.3117, allocations: 1.064 MB / 419.4 MB, free: 88 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.3117, allocations: 5.141 kB / 419.4 MB, free: 84 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/0.312, allocations: 44.16 kB / 419.5 MB, free: 80 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002563/0.3145, allocations: 0.5241 MB / 420 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/0.3146, allocations: 8.062 kB / 420 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008932/0.3155, allocations: 1.289 MB / 421.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3155, allocations: 1.469 kB / 421.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/0.3174, allocations: 0.8083 MB / 422.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.3175, allocations: 103.8 kB / 422.2 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.997e-05/0.3176, allocations: 10.69 kB / 422.2 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.3178, allocations: 16.5 kB / 422.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.446e-05/0.3178, allocations: 25.3 kB / 422.3 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.3179, allocations: 11.11 kB / 422.3 MB, free: 14.31 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002547/0.3181, allocations: 201.6 kB / 422.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3181, allocations: 0 / 422.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000493/0.3186, allocations: 91.41 kB / 422.6 MB, free: 14.18 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (coil.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,8), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002712/0.3189, allocations: 129.9 kB / 422.7 MB, free: 14.08 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009202/0.3199, allocations: 339 kB / 423 MB, free: 13.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3199, allocations: 0 / 423 MB, free: 13.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004401/0.3203, allocations: 193.2 kB / 423.2 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/0.3207, allocations: 34.33 kB / 423.2 MB, free: 13.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.3223, allocations: 0.7485 MB / 424 MB, free: 13.47 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004742/0.3228, allocations: 0.7882 MB / 424.8 MB, free: 12.77 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001807/0.323, allocations: 28.12 kB / 424.8 MB, free: 12.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.637e-05/0.323, allocations: 20.55 kB / 424.8 MB, free: 12.75 MB / 302.1 MB Notification: Performance of SimCode: time 2.414e-06/0.323, allocations: 0 / 424.8 MB, free: 12.75 MB / 302.1 MB Notification: Performance of Templates: time 0.01049/0.3335, allocations: 3.71 MB / 428.5 MB, free: 11.08 MB / 302.1 MB make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.makefile (rm -f FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.sim & ./FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe 2>&1)