Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.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.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap") translateModel(FluxTubesExtension.Examples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 169.2 kB / 7.64 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.008586/0.008586, allocations: 1.178 MB / 9.25 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.263/1.263, allocations: 221.5 MB / 231.5 MB, free: 6.156 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.0009025/0.0009025, allocations: 99.52 kB / 282.6 MB, free: 3.625 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.342e-05/1.361e-05, allocations: 0 / 339.5 MB, free: 8.004 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08878/0.08881, allocations: 50.69 MB / 390.2 MB, free: 5.27 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2819/0.3707, allocations: 84.65 MB / 474.8 MB, free: 7.551 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001875/0.3709, allocations: 71.97 kB / 474.9 MB, free: 7.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03527/0.4062, allocations: 12.79 MB / 487.7 MB, free: 10.63 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4063, allocations: 7.938 kB / 487.7 MB, free: 10.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.276e-05/0.4063, allocations: 8 kB / 487.7 MB, free: 10.61 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001018/0.4073, allocations: 0.6042 MB / 488.3 MB, free: 9.961 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.4074, allocations: 11.98 kB / 488.3 MB, free: 9.949 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.649e-05/0.4075, allocations: 39.53 kB / 488.4 MB, free: 9.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004561/0.4079, allocations: 315 kB / 488.7 MB, free: 9.566 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.408, allocations: 8 kB / 488.7 MB, free: 9.559 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.744e-05/0.408, allocations: 20 kB / 488.7 MB, free: 9.539 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003865/0.4084, allocations: 221.4 kB / 488.9 MB, free: 9.324 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003985/0.4088, allocations: 230.1 kB / 489.1 MB, free: 9.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.4088, allocations: 0 / 489.1 MB, free: 9.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.4089, allocations: 7.984 kB / 489.2 MB, free: 9.082 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.4089, allocations: 8 kB / 489.2 MB, free: 9.074 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001683/0.4106, allocations: 1.123 MB / 490.3 MB, free: 7.863 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003248/0.4109, allocations: 174.5 kB / 490.5 MB, free: 7.684 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.411, allocations: 69.62 kB / 490.5 MB, free: 7.613 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.482e-05/0.4111, allocations: 15.97 kB / 490.5 MB, free: 7.598 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.4111, allocations: 42.91 kB / 490.6 MB, free: 7.547 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.613e-06/0.4111, allocations: 0 / 490.6 MB, free: 7.547 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.002348/0.4135, allocations: 0.7172 MB / 491.3 MB, free: 6.816 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.4135, allocations: 55.64 kB / 491.4 MB, free: 6.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000283/0.4138, allocations: 269 kB / 491.6 MB, free: 6.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.4139, allocations: 29.7 kB / 491.6 MB, free: 6.445 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.414, allocations: 239.8 kB / 491.9 MB, free: 6.207 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.193e-05/0.4141, allocations: 90.66 kB / 492 MB, free: 6.117 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.459e-05/0.4141, allocations: 0 / 492 MB, free: 6.117 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.4142, allocations: 342.8 kB / 492.3 MB, free: 5.773 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.4144, allocations: 88.73 kB / 492.4 MB, free: 5.684 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002111/0.4146, allocations: 188.8 kB / 492.6 MB, free: 5.457 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005291/0.4151, allocations: 179.9 kB / 492.7 MB, free: 5.281 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4151, allocations: 7.875 kB / 492.8 MB, free: 5.273 MB / 362.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00116/0.4163, allocations: 486.5 kB / 493.2 MB, free: 4.785 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.4163, allocations: 8 kB / 493.2 MB, free: 4.777 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.4163, allocations: 0 / 493.2 MB, free: 4.777 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000315/0.4167, allocations: 102 kB / 493.3 MB, free: 4.672 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003113/0.417, allocations: 79.89 kB / 493.4 MB, free: 4.594 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009711/0.418, allocations: 1.234 MB / 494.7 MB, free: 3.309 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000274/0.4183, allocations: 19.98 kB / 494.7 MB, free: 3.289 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.303e-05/0.4183, allocations: 23.98 kB / 494.7 MB, free: 3.266 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: core.H:DUMMY_STATE(unit = "A/m" ) "Magnetic field strength" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.core.H:DUMMY_DER(fixed = false ) "Magnetic field strength" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 35 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001643/0.4185, allocations: 124.9 kB / 494.8 MB, free: 3.137 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.717e-05/0.4185, allocations: 27.62 kB / 494.8 MB, free: 3.109 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001171/0.4197, allocations: 432 kB / 495.3 MB, free: 2.676 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.4197, allocations: 3.984 kB / 495.3 MB, free: 2.672 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.4198, allocations: 4 kB / 495.3 MB, free: 2.668 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.4198, allocations: 0 / 495.3 MB, free: 2.668 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003712/0.4201, allocations: 314.1 kB / 495.6 MB, free: 2.324 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.4201, allocations: 4 kB / 495.6 MB, free: 2.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002259/0.4204, allocations: 51.97 kB / 495.6 MB, free: 2.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002432/0.4206, allocations: 97.55 kB / 495.7 MB, free: 2.168 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.371e-05/0.4207, allocations: 3.984 kB / 495.7 MB, free: 2.164 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009097/0.4216, allocations: 1.226 MB / 497 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.4216, allocations: 0 / 497 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.4227, allocations: 0.5049 MB / 497.5 MB, free: 368 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.764e-05/0.4228, allocations: 108.7 kB / 497.6 MB, free: 240 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.257e-05/0.4229, allocations: 0 / 497.6 MB, free: 240 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.4231, allocations: 19.97 kB / 497.6 MB, free: 220 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.633e-05/0.4231, allocations: 19.95 kB / 497.6 MB, free: 200 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.507e-05/0.4232, allocations: 12 kB / 497.6 MB, free: 188 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002012/0.4234, allocations: 208.6 kB / 497.8 MB, free: 15.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4234, allocations: 3.938 kB / 497.8 MB, free: 15.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004226/0.4238, allocations: 95.98 kB / 497.9 MB, free: 15.88 MB / 378.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 (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002844/0.4241, allocations: 179.1 kB / 498.1 MB, free: 15.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00051/0.4246, allocations: 248 kB / 498.3 MB, free: 15.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4246, allocations: 0 / 498.3 MB, free: 15.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002562/0.4249, allocations: 127.8 kB / 498.5 MB, free: 15.33 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.4252, allocations: 32.38 kB / 498.5 MB, free: 15.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007855/0.426, allocations: 393.1 kB / 498.9 MB, free: 14.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.4263, allocations: 0.7991 MB / 499.7 MB, free: 14.06 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001896/0.4265, allocations: 39.27 kB / 499.7 MB, free: 14.03 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.903e-05/0.4266, allocations: 23.44 kB / 499.7 MB, free: 14 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4266, allocations: 0 / 499.7 MB, free: 14 MB / 378.7 MB Notification: Performance of Templates: time 0.007536/0.4342, allocations: 3.553 MB / 0.4915 GB, free: 10.47 MB / 378.7 MB make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.makefile (rm -f FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.sim & ./FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe 2>&1)