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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 FluxTubesExtension with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001235/0.001236, allocations: 174.3 kB / 7.642 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.0122/0.0122, allocations: 1.177 MB / 9.249 MB, free: 1.203 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 221.5 MB / 231.5 MB, free: 6.332 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008197/0.0008195, allocations: 88.11 kB / 282.6 MB, free: 3.812 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.314e-05/1.322e-05, allocations: 4 kB / 339.5 MB, free: 8.031 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08502/0.08505, allocations: 50.68 MB / 390.2 MB, free: 5.309 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.294/0.3791, allocations: 79.5 MB / 469.7 MB, free: 12.74 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001851/0.3794, allocations: 67.95 kB / 469.7 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0373/0.4167, allocations: 12.62 MB / 482.4 MB, free: 15.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4167, allocations: 0 / 482.4 MB, free: 15.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.507e-05/0.4167, allocations: 0 / 482.4 MB, free: 15.93 MB / 362.7 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.0005077/0.4173, allocations: 442.7 kB / 482.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.4173, allocations: 11.98 kB / 482.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.965e-05/0.4174, allocations: 15.81 kB / 482.8 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.4177, allocations: 230.8 kB / 483.1 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.4177, allocations: 0 / 483.1 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.4177, allocations: 4 kB / 483.1 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002705/0.418, allocations: 175.8 kB / 483.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.4182, allocations: 117.5 kB / 483.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.4182, allocations: 7.953 kB / 483.4 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.4183, allocations: 0 / 483.4 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.4183, allocations: 0 / 483.4 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003376/0.4186, allocations: 238 kB / 483.6 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002394/0.4189, allocations: 170.5 kB / 483.8 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.419, allocations: 76.8 kB / 483.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.725e-05/0.4191, allocations: 43.84 kB / 483.9 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.4191, allocations: 30.84 kB / 483.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.4191, allocations: 3.938 kB / 483.9 MB, free: 14.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.001546/0.4207, allocations: 374 kB / 484.3 MB, free: 13.87 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.4208, allocations: 55.34 kB / 484.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.421, allocations: 186 kB / 484.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.421, allocations: 25.7 kB / 484.5 MB, free: 13.58 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.607e-05/0.4211, allocations: 116.1 kB / 484.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.618e-05/0.4211, allocations: 31.55 kB / 484.7 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-06/0.4212, allocations: 4 kB / 484.7 MB, free: 13.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.4213, allocations: 322.8 kB / 485 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.749e-05/0.4214, allocations: 67.94 kB / 485.1 MB, free: 13.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.407e-05/0.4215, allocations: 71.94 kB / 485.1 MB, free: 12.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006565/0.4222, allocations: 183.8 kB / 485.3 MB, free: 12.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4222, allocations: 0 / 485.3 MB, free: 12.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001302/0.4235, allocations: 377.9 kB / 485.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.4235, allocations: 8 kB / 485.7 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.4235, allocations: 0 / 485.7 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006693/0.4242, allocations: 76.72 kB / 485.8 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.212e-05/0.4243, allocations: 19.98 kB / 485.8 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001481/0.4258, allocations: 1.319 MB / 487.1 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.198e-05/0.4259, allocations: 11.92 kB / 487.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.042e-05/0.4259, allocations: 8 kB / 487.1 MB, free: 10.85 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: B:VARIABLE(unit = "T" ) "Magnetic flux density of material" type: Real 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 () * 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 0.0001086/0.4261, allocations: 109 kB / 487.2 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.161e-05/0.4261, allocations: 23.78 kB / 487.3 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001457/0.4276, allocations: 435.8 kB / 487.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.4276, allocations: 4 kB / 487.7 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.4276, allocations: 0 / 487.7 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.4276, allocations: 7.984 kB / 487.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002219/0.4278, allocations: 230 kB / 487.9 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.4278, allocations: 0 / 487.9 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.869e-05/0.4279, allocations: 19.92 kB / 487.9 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006077/0.4285, allocations: 76.77 kB / 488 MB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.4285, allocations: 4 kB / 488 MB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001699/0.4303, allocations: 1.373 MB / 489.4 MB, free: 8.414 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.4303, allocations: 4.031 kB / 489.4 MB, free: 8.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001361/0.4316, allocations: 405.5 kB / 489.8 MB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.217e-05/0.4317, allocations: 88.92 kB / 489.9 MB, free: 7.887 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.4318, allocations: 7.953 kB / 489.9 MB, free: 7.879 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.194e-05/0.4318, allocations: 0 / 489.9 MB, free: 7.879 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.265e-05/0.4319, allocations: 15.91 kB / 489.9 MB, free: 7.863 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.733e-05/0.4319, allocations: 16 kB / 489.9 MB, free: 7.848 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001401/0.4321, allocations: 164.2 kB / 490.1 MB, free: 7.688 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4321, allocations: 0 / 490.1 MB, free: 7.688 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003639/0.4324, allocations: 79.92 kB / 490.1 MB, free: 7.609 MB / 362.7 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 () * 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.0003357/0.4328, allocations: 184.9 kB / 490.3 MB, free: 7.422 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003482/0.4331, allocations: 245.6 kB / 490.6 MB, free: 7.172 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4332, allocations: 0 / 490.6 MB, free: 7.172 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003564/0.4335, allocations: 185.7 kB / 490.8 MB, free: 6.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.4337, allocations: 23.94 kB / 490.8 MB, free: 6.957 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02809/0.4618, allocations: 1.342 MB / 492.1 MB, free: 5.594 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.4622, allocations: 0.7236 MB / 492.8 MB, free: 4.844 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.741e-05/0.4623, allocations: 21.05 kB / 492.9 MB, free: 4.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.093e-05/0.4623, allocations: 11.44 kB / 492.9 MB, free: 4.812 MB / 362.7 MB Notification: Performance of SimCode: time 8.21e-07/0.4623, allocations: 0 / 492.9 MB, free: 4.812 MB / 362.7 MB Notification: Performance of Templates: time 0.006742/0.4691, allocations: 3.088 MB / 496 MB, free: 1.738 MB / 362.7 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)