Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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) 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(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 114.2 kB / 17.75 MB, free: 5.355 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.001076/0.001076, allocations: 185.4 kB / 18.68 MB, free: 4.434 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.307/1.307, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001047/0.001047, allocations: 47.92 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2396, allocations: 49.44 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.004704/0.2444, allocations: 3.492 MB / 404.9 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001678/0.2461, allocations: 0.923 MB / 405.8 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003552/0.2465, allocations: 8 kB / 405.8 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003347/0.2468, allocations: 95.08 kB / 405.9 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005396/0.2474, allocations: 162.7 kB / 406.1 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004588/0.2478, allocations: 171.7 kB / 406.3 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007066/0.2486, allocations: 0.6298 MB / 406.9 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003169/0.2489, allocations: 189.5 kB / 407.1 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003757/0.2493, allocations: 247 kB / 407.3 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003498/0.2496, allocations: 274.7 kB / 407.6 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.2497, allocations: 52 kB / 407.6 MB, free: 2.602 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.2499, allocations: 52 kB / 407.7 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.25, allocations: 123.5 kB / 407.8 MB, free: 2.43 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003047/0.2503, allocations: 286.5 kB / 408.1 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005895/0.2509, allocations: 0.6277 MB / 408.7 MB, free: 1.523 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2509, allocations: 0 / 408.7 MB, free: 1.523 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.251, allocations: 0 / 408.7 MB, free: 1.523 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.995e-05/0.251, allocations: 0 / 408.7 MB, free: 1.523 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001552/0.2525, allocations: 0.842 MB / 409.6 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.2526, allocations: 8.031 kB / 409.6 MB, free: 0.625 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.819e-05/0.2527, allocations: 68.12 kB / 409.6 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004538/0.2531, allocations: 347.1 kB / 410 MB, free: 188 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.837e-05/0.2532, allocations: 45.67 kB / 410 MB, free: 140 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.764e-05/0.2533, allocations: 48.38 kB / 410.1 MB, free: 92 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008292/0.2541, allocations: 442.4 kB / 410.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.2541, allocations: 0 / 410.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.166e-05/0.2542, allocations: 20 kB / 410.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.2542, allocations: 12 kB / 410.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008588/0.2551, allocations: 393 kB / 410.9 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002462/0.2575, allocations: 1.573 MB / 412.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007168/0.2583, allocations: 398.1 kB / 412.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004158/0.2587, allocations: 189.4 kB / 413.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.618e-05/0.2587, allocations: 4.328 kB / 413.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.2588, allocations: 34.89 kB / 413.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.794e-06/0.2588, allocations: 0 / 413.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=55): time 0.003344/0.2621, allocations: 1.195 MB / 414.3 MB, free: 11.69 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.2622, allocations: 55.97 kB / 414.3 MB, free: 11.62 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000424/0.2626, allocations: 397.5 kB / 414.7 MB, free: 11.22 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.2626, allocations: 29.7 kB / 414.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000185/0.2628, allocations: 303.8 kB / 415.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.263, allocations: 189.3 kB / 415.2 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001541/0.2631, allocations: 114.2 kB / 415.4 MB, free: 10.58 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.2633, allocations: 358.7 kB / 415.7 MB, free: 10.22 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004417/0.2637, allocations: 181.2 kB / 415.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004904/0.2642, allocations: 291 kB / 416.2 MB, free: 9.715 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009637/0.2652, allocations: 0.4907 MB / 416.7 MB, free: 9.18 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.2652, allocations: 0 / 416.7 MB, free: 9.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001451/0.2667, allocations: 0.7458 MB / 417.4 MB, free: 8.418 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.2667, allocations: 11.94 kB / 417.4 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.2667, allocations: 0 / 417.4 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000537/0.2672, allocations: 185.6 kB / 417.6 MB, free: 8.219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005061/0.2678, allocations: 115.8 kB / 417.7 MB, free: 8.105 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004399/0.2722, allocations: 4.27 MB / 422 MB, free: 3.562 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003991/0.2726, allocations: 27.98 kB / 422 MB, free: 3.535 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.856e-05/0.2726, allocations: 23.98 kB / 422 MB, free: 3.512 MB / 334.1 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002494/0.2729, allocations: 178.3 kB / 422.2 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.969e-05/0.273, allocations: 55.66 kB / 422.3 MB, free: 3.273 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.2731, allocations: 53.03 kB / 422.3 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.2731, allocations: 7.922 kB / 422.3 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2731, allocations: 7.938 kB / 422.3 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.797e-05/0.2732, allocations: 120.5 kB / 422.4 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.448e-05/0.2733, allocations: 8 kB / 422.4 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003008/0.2736, allocations: 23.98 kB / 422.5 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.2737, allocations: 52.47 kB / 422.5 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001746/0.2755, allocations: 0.7067 MB / 423.2 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001382/0.2769, allocations: 0.8414 MB / 424.1 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003846/0.2773, allocations: 168.4 kB / 424.2 MB, free: 1.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002733/0.2776, allocations: 279.2 kB / 424.5 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of Backend: time 4.81e-07/0.2776, allocations: 0 / 424.5 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001403/0.279, allocations: 0.7269 MB / 425.2 MB, free: 224 kB / 334.1 MB Notification: Performance of SimCode: time 0.001557/0.2805, allocations: 1.456 MB / 426.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of Templates: time 0.01101/0.2916, allocations: 5.731 MB / 432.4 MB, free: 8.984 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1)