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.0008161/0.0008162, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009299/0.00093, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.01468/0.01468, allocations: 1.214 MB / 292.3 MB, free: 1.051 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003064/0.0003064, allocations: 19.92 kB / 353.5 MB, free: 2.254 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2618, allocations: 50.67 MB / 404.1 MB, free: 9.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.001807/0.2637, allocations: 1.231 MB / 405.4 MB, free: 9.691 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00164/0.2653, allocations: 1.153 MB / 406.5 MB, free: 9.137 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.215e-05/0.2654, allocations: 5.125 kB / 406.5 MB, free: 9.133 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003618/0.2658, allocations: 113 kB / 406.6 MB, free: 9.098 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004951/0.2663, allocations: 184.9 kB / 406.8 MB, free: 9.016 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.69e-06/0.2663, allocations: 0 / 406.8 MB, free: 9.016 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.2665, allocations: 133.7 kB / 406.9 MB, free: 8.965 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.886e-05/0.2665, allocations: 11.17 kB / 407 MB, free: 8.953 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.2667, allocations: 50.03 kB / 407 MB, free: 8.934 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.2668, allocations: 71.34 kB / 407.1 MB, free: 8.906 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.2668, allocations: 4.094 kB / 407.1 MB, free: 8.906 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004191/0.2673, allocations: 263.2 kB / 407.3 MB, free: 8.832 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.731e-05/0.2673, allocations: 31.19 kB / 407.4 MB, free: 8.824 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.874e-05/0.2674, allocations: 45.23 kB / 407.4 MB, free: 8.781 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000288/0.2677, allocations: 192.8 kB / 407.6 MB, free: 8.734 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2677, allocations: 1.156 kB / 407.6 MB, free: 8.734 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.2677, allocations: 4 kB / 407.6 MB, free: 8.73 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.2677, allocations: 0 / 407.6 MB, free: 8.73 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004982/0.2682, allocations: 478.4 kB / 408.1 MB, free: 8.281 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.2682, allocations: 8.906 kB / 408.1 MB, free: 8.281 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.2683, allocations: 15.11 kB / 408.1 MB, free: 8.273 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.2685, allocations: 234 kB / 408.3 MB, free: 8.047 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.2685, allocations: 2.094 kB / 408.3 MB, free: 8.047 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.2686, allocations: 2.062 kB / 408.3 MB, free: 8.047 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.2687, allocations: 109.1 kB / 408.4 MB, free: 7.996 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.016e-06/0.2687, allocations: 0.9375 kB / 408.4 MB, free: 7.996 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.2688, allocations: 1 kB / 408.4 MB, free: 7.996 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.2688, allocations: 5.141 kB / 408.4 MB, free: 7.992 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001912/0.269, allocations: 150.6 kB / 408.6 MB, free: 7.965 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002641/0.2692, allocations: 257.4 kB / 408.8 MB, free: 7.75 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.2694, allocations: 153.2 kB / 409 MB, free: 7.699 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.398e-05/0.2695, allocations: 78.61 kB / 409.1 MB, free: 7.672 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.798e-05/0.2696, allocations: 39.45 kB / 409.1 MB, free: 7.664 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.661e-05/0.2697, allocations: 31.41 kB / 409.1 MB, free: 7.625 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.2697, allocations: 0 / 409.1 MB, free: 7.625 MB / 286.1 MB Notification: Performance of matching and sorting (n=9): time 0.001526/0.2712, allocations: 444.3 kB / 409.6 MB, free: 7.426 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.059e-05/0.2712, allocations: 52.72 kB / 409.6 MB, free: 7.363 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.2714, allocations: 215.6 kB / 409.8 MB, free: 7.227 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/0.2714, allocations: 25.7 kB / 409.9 MB, free: 7.195 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.582e-05/0.2715, allocations: 119.6 kB / 410 MB, free: 7.086 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.2715, allocations: 29.64 kB / 410 MB, free: 7.062 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/0.2715, allocations: 0 / 410 MB, free: 7.062 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.782e-05/0.2716, allocations: 329.1 kB / 410.3 MB, free: 6.742 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.996e-05/0.2717, allocations: 61.02 kB / 410.4 MB, free: 6.73 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.119e-05/0.2717, allocations: 57.36 kB / 410.4 MB, free: 6.723 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.86e-05/0.2718, allocations: 60.84 kB / 410.5 MB, free: 6.711 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.2718, allocations: 0.6094 kB / 410.5 MB, free: 6.711 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006803/0.2725, allocations: 239.7 kB / 410.7 MB, free: 6.625 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.2725, allocations: 9.141 kB / 410.7 MB, free: 6.621 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.2725, allocations: 5 kB / 410.7 MB, free: 6.617 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006248/0.2732, allocations: 74.97 kB / 410.8 MB, free: 6.602 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.758e-05/0.2733, allocations: 12.78 kB / 410.8 MB, free: 6.602 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/0.2747, allocations: 1.425 MB / 412.3 MB, free: 5.254 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.958e-05/0.2748, allocations: 6.859 kB / 412.3 MB, free: 5.25 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.2748, allocations: 8.266 kB / 412.3 MB, free: 5.246 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 7.672e-05/0.2749, allocations: 125.4 kB / 412.4 MB, free: 5.125 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.2749, allocations: 20.42 kB / 412.4 MB, free: 5.113 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007451/0.2757, allocations: 269.1 kB / 412.7 MB, free: 5.02 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.2757, allocations: 1.125 kB / 412.7 MB, free: 5.02 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.2757, allocations: 0.875 kB / 412.7 MB, free: 5.02 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2757, allocations: 0.5156 kB / 412.7 MB, free: 5.02 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.2759, allocations: 260.1 kB / 412.9 MB, free: 4.801 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2759, allocations: 5.047 kB / 412.9 MB, free: 4.797 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.421e-05/0.276, allocations: 15.41 kB / 413 MB, free: 4.793 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005596/0.2765, allocations: 78.5 kB / 413 MB, free: 4.773 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.2766, allocations: 7.844 kB / 413 MB, free: 4.77 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001322/0.2779, allocations: 1.417 MB / 414.5 MB, free: 3.438 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.2779, allocations: 256 / 414.5 MB, free: 3.438 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006588/0.2786, allocations: 274.6 kB / 414.7 MB, free: 3.309 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.518e-05/0.2786, allocations: 91.8 kB / 414.8 MB, free: 3.207 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.2786, allocations: 5.031 kB / 414.8 MB, free: 3.203 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.449e-05/0.2787, allocations: 6.719 kB / 414.8 MB, free: 3.199 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.122e-05/0.2787, allocations: 8.422 kB / 414.8 MB, free: 3.199 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/0.2787, allocations: 5.594 kB / 414.8 MB, free: 3.199 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001254/0.2789, allocations: 166.3 kB / 415 MB, free: 3.094 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2789, allocations: 0 / 415 MB, free: 3.094 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003715/0.2793, allocations: 75.98 kB / 415.1 MB, free: 3.078 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.000223/0.2795, allocations: 154.5 kB / 415.2 MB, free: 2.965 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004795/0.28, allocations: 267.2 kB / 415.5 MB, free: 2.824 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.28, allocations: 0.9062 kB / 415.5 MB, free: 2.824 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002963/0.2803, allocations: 202.5 kB / 415.7 MB, free: 2.695 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.2806, allocations: 33.94 kB / 415.7 MB, free: 2.676 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003026/0.2836, allocations: 0.5893 MB / 416.3 MB, free: 2.449 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001577/0.2838, allocations: 0.7251 MB / 417 MB, free: 1.746 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.881e-05/0.2838, allocations: 23.7 kB / 417.1 MB, free: 1.738 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.792e-05/0.2839, allocations: 13.98 kB / 417.1 MB, free: 1.73 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2839, allocations: 1.719 kB / 417.1 MB, free: 1.73 MB / 286.1 MB Notification: Performance of Templates: time 0.006188/0.2901, allocations: 2.943 MB / 420 MB, free: 1.496 MB / 286.1 MB make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: