Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.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.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic") translateModel(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 195.5 kB / 16.14 MB, free: 6.656 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.254/1.254, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.0173/0.0173, allocations: 1.231 MB / 291.2 MB, free: 1.297 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001023/0.001024, allocations: 59.91 kB / 351.7 MB, free: 7.188 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07904/0.08008, allocations: 49.68 MB / 401.3 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.00223/0.08235, allocations: 1.604 MB / 402.9 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.08391, allocations: 1.285 MB / 404.2 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.569e-05/0.08396, allocations: 0 / 404.2 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000432/0.0844, allocations: 147.4 kB / 404.4 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004644/0.08488, allocations: 219.3 kB / 404.6 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.649e-06/0.08489, allocations: 0 / 404.6 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.08504, allocations: 163.4 kB / 404.7 MB, free: 2.027 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.713e-05/0.08508, allocations: 17.69 kB / 404.8 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.516e-05/0.08517, allocations: 51.72 kB / 404.8 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.0853, allocations: 71.69 kB / 404.9 MB, free: 1.891 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.08533, allocations: 4 kB / 404.9 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005357/0.08587, allocations: 435.1 kB / 405.3 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.647e-05/0.08593, allocations: 35.83 kB / 405.3 MB, free: 1.426 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.321e-05/0.08598, allocations: 59.55 kB / 405.4 MB, free: 1.367 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003963/0.08639, allocations: 370.9 kB / 405.8 MB, free: 1.004 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.0864, allocations: 0 / 405.8 MB, free: 1.004 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.0864, allocations: 0 / 405.8 MB, free: 1.004 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.08641, allocations: 0 / 405.8 MB, free: 1.004 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005691/0.08698, allocations: 498.4 kB / 406.3 MB, free: 480 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.82e-05/0.08702, allocations: 8.031 kB / 406.3 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.425e-05/0.08707, allocations: 16.75 kB / 406.3 MB, free: 456 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.0873, allocations: 235.7 kB / 406.5 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.08732, allocations: 4.375 kB / 406.5 MB, free: 176 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.08734, allocations: 4.375 kB / 406.5 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.08748, allocations: 105.9 kB / 406.6 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.0875, allocations: 0 / 406.6 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.08752, allocations: 12 kB / 406.6 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.08753, allocations: 0 / 406.6 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.08771, allocations: 143.9 kB / 406.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002605/0.08798, allocations: 265.5 kB / 407 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.08817, allocations: 150.5 kB / 407.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.667e-05/0.08825, allocations: 68.83 kB / 407.2 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.072e-05/0.08832, allocations: 43.91 kB / 407.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.08835, allocations: 38.5 kB / 407.3 MB, free: 15.28 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 9.62e-07/0.08835, allocations: 0 / 407.3 MB, free: 15.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001793/0.09015, allocations: 439.3 kB / 407.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.09019, allocations: 51.41 kB / 407.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.09039, allocations: 223 kB / 408 MB, free: 14.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.09042, allocations: 25.7 kB / 408 MB, free: 14.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.479e-05/0.09048, allocations: 120.1 kB / 408.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.09052, allocations: 31.55 kB / 408.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.09056, allocations: 21.7 kB / 408.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.09068, allocations: 334.8 kB / 408.5 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.635e-05/0.09075, allocations: 55.97 kB / 408.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.574e-05/0.09082, allocations: 59.97 kB / 408.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.09098, allocations: 132.8 kB / 408.8 MB, free: 13.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.09099, allocations: 0 / 408.8 MB, free: 13.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007613/0.09175, allocations: 246.1 kB / 409 MB, free: 13.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.09178, allocations: 8 kB / 409 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.09179, allocations: 0 / 409 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006893/0.09248, allocations: 72.78 kB / 409.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.925e-05/0.09255, allocations: 15.92 kB / 409.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001788/0.09435, allocations: 1.433 MB / 410.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.681e-05/0.09443, allocations: 11.78 kB / 410.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.09445, allocations: 7.984 kB / 410.6 MB, free: 11.8 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 9.382e-05/0.09455, allocations: 125.8 kB / 410.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.481e-05/0.09458, allocations: 19.81 kB / 410.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008024/0.09538, allocations: 263.8 kB / 411 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.0954, allocations: 0 / 411 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-06/0.0954, allocations: 0 / 411 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.09541, allocations: 0 / 411 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.09561, allocations: 261.5 kB / 411.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.09562, allocations: 4 kB / 411.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.054e-05/0.09566, allocations: 8 kB / 411.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006438/0.09631, allocations: 72.78 kB / 411.3 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.09634, allocations: 11.86 kB / 411.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001687/0.09803, allocations: 1.436 MB / 412.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.09805, allocations: 0 / 412.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007767/0.09883, allocations: 269.7 kB / 413 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.651e-05/0.09889, allocations: 88.92 kB / 413.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.09892, allocations: 4 kB / 413.1 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.1e-05/0.09899, allocations: 4 kB / 413.1 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.09903, allocations: 15.91 kB / 413.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.09904, allocations: 0 / 413.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001308/0.09918, allocations: 164.4 kB / 413.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09919, allocations: 4 kB / 413.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000347/0.09954, allocations: 83.92 kB / 413.4 MB, free: 8.758 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002562/0.0998, allocations: 159.1 kB / 413.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004923/0.1003, allocations: 266.5 kB / 413.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1003, allocations: 4 kB / 413.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003484/0.1007, allocations: 206.5 kB / 414 MB, free: 8.098 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.1009, allocations: 34.2 kB / 414 MB, free: 8.066 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00362/0.1046, allocations: 0.6156 MB / 414.6 MB, free: 7.422 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.1048, allocations: 0.7165 MB / 415.4 MB, free: 6.676 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.006e-05/0.1049, allocations: 21.3 kB / 415.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.08e-05/0.1049, allocations: 23.42 kB / 415.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1049, allocations: 0 / 415.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of Templates: time 0.005378/0.1103, allocations: 3.032 MB / 418.4 MB, free: 3.613 MB / 350.1 MB make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.makefile (rm -f FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.sim & ./FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic -abortSlowSimulation -alarm=480 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe 2>&1)