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.001379/0.001379, allocations: 109.6 kB / 16.41 MB, free: 6.465 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.001539/0.001539, allocations: 189.4 kB / 17.35 MB, free: 5.711 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.306/1.306, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.01506/0.01506, allocations: 1.233 MB / 292.4 MB, free: 13.61 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 71.02 kB / 404 MB, free: 31.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06643/0.06765, allocations: 49.7 MB / 453.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.002265/0.06995, allocations: 1.549 MB / 455.2 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.07161, allocations: 1.261 MB / 456.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.37e-05/0.07167, allocations: 0 / 456.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004585/0.07214, allocations: 143.4 kB / 456.6 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005839/0.07274, allocations: 270.7 kB / 456.9 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.43e-06/0.07275, allocations: 0 / 456.9 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000131/0.07289, allocations: 107.5 kB / 457 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.742e-05/0.07294, allocations: 17.38 kB / 457 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.193e-05/0.07304, allocations: 55.7 kB / 457.1 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.07318, allocations: 59.75 kB / 457.1 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.07321, allocations: 4 kB / 457.1 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005558/0.07377, allocations: 411.1 kB / 457.5 MB, free: 9.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.205e-05/0.07383, allocations: 39.83 kB / 457.6 MB, free: 9.871 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.267e-05/0.0739, allocations: 55.61 kB / 457.6 MB, free: 9.816 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004017/0.07431, allocations: 338.8 kB / 458 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.07433, allocations: 0 / 458 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.07433, allocations: 3.938 kB / 458 MB, free: 9.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.07435, allocations: 0 / 458 MB, free: 9.48 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.0005794/0.07493, allocations: 494.1 kB / 458.4 MB, free: 8.949 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.07497, allocations: 12.03 kB / 458.4 MB, free: 8.938 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.57e-05/0.07502, allocations: 16.84 kB / 458.5 MB, free: 8.922 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.07525, allocations: 247.8 kB / 458.7 MB, free: 8.641 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.385e-06/0.07527, allocations: 384 / 458.7 MB, free: 8.641 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.07529, allocations: 8.375 kB / 458.7 MB, free: 8.633 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.07545, allocations: 109.8 kB / 458.8 MB, free: 8.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.07546, allocations: 0 / 458.8 MB, free: 8.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.986e-06/0.07547, allocations: 0 / 458.8 MB, free: 8.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.07549, allocations: 4 kB / 458.8 MB, free: 8.516 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.07566, allocations: 147.9 kB / 459 MB, free: 8.371 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002448/0.07591, allocations: 257.6 kB / 459.2 MB, free: 8.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.07612, allocations: 154.5 kB / 459.4 MB, free: 7.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.767e-05/0.0762, allocations: 68.83 kB / 459.4 MB, free: 7.84 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.329e-05/0.07627, allocations: 35.97 kB / 459.5 MB, free: 7.805 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.0763, allocations: 38.5 kB / 459.5 MB, free: 7.758 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.07631, allocations: 0 / 459.5 MB, free: 7.758 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.001715/0.07803, allocations: 447.4 kB / 459.9 MB, free: 7.293 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/0.07807, allocations: 51.41 kB / 460 MB, free: 7.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.07827, allocations: 220.2 kB / 460.2 MB, free: 7.004 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.07829, allocations: 25.7 kB / 460.2 MB, free: 6.973 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.557e-05/0.07836, allocations: 112.1 kB / 460.3 MB, free: 6.859 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.692e-05/0.0784, allocations: 35.67 kB / 460.4 MB, free: 6.824 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.391e-05/0.07845, allocations: 33.7 kB / 460.4 MB, free: 6.785 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.746e-05/0.07855, allocations: 322.8 kB / 460.7 MB, free: 6.461 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.316e-05/0.07863, allocations: 59.97 kB / 460.8 MB, free: 6.402 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.948e-05/0.07871, allocations: 60.34 kB / 460.9 MB, free: 6.344 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.07887, allocations: 136.9 kB / 461 MB, free: 6.207 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.07888, allocations: 4 kB / 461 MB, free: 6.203 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000754/0.07964, allocations: 238.2 kB / 461.2 MB, free: 5.961 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.07966, allocations: 4 kB / 461.2 MB, free: 5.957 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.07967, allocations: 7.984 kB / 461.2 MB, free: 5.949 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007039/0.08038, allocations: 76.72 kB / 461.3 MB, free: 5.871 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.057e-05/0.08045, allocations: 12 kB / 461.3 MB, free: 5.859 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001895/0.08236, allocations: 1.558 MB / 462.9 MB, free: 4.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.07e-05/0.08244, allocations: 7.984 kB / 462.9 MB, free: 4.152 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.08246, allocations: 3.984 kB / 462.9 MB, free: 4.148 MB / 334.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.124e-05/0.08256, allocations: 129.8 kB / 463 MB, free: 4.012 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.08259, allocations: 11.91 kB / 463 MB, free: 4 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008215/0.08341, allocations: 267.8 kB / 463.3 MB, free: 3.73 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.08343, allocations: 7.984 kB / 463.3 MB, free: 3.723 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.08344, allocations: 0 / 463.3 MB, free: 3.723 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.993e-05/0.08349, allocations: 92.97 kB / 463.4 MB, free: 3.613 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.08352, allocations: 0 / 463.4 MB, free: 3.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.234e-05/0.08359, allocations: 4 kB / 463.4 MB, free: 3.609 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.064e-05/0.08362, allocations: 15.97 kB / 463.4 MB, free: 3.594 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000513/0.08414, allocations: 293.6 kB / 463.7 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003753/0.08453, allocations: 454.5 kB / 464.1 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.237e-05/0.08462, allocations: 67.98 kB / 464.2 MB, free: 2.77 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001279/0.08476, allocations: 167.4 kB / 464.4 MB, free: 2.605 MB / 334.1 MB Notification: Performance of Backend: time 3.1e-07/0.08476, allocations: 0 / 464.4 MB, free: 2.605 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008928/0.08566, allocations: 379.6 kB / 464.7 MB, free: 2.219 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006267/0.0863, allocations: 0.7428 MB / 465.5 MB, free: 1.43 MB / 334.1 MB Notification: Performance of Templates: time 0.006178/0.09249, allocations: 3.298 MB / 468.8 MB, free: 14.14 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)