Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.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.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.i|coil.Phi|r_mLeak.port_p.Phi|r_mFe.mu_r|r_mFe.B|r_mFe.H",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.i|coil.Phi|r_mLeak.port_p.Phi|r_mFe.mu_r|r_mFe.B|r_mFe.H",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 110.9 kB / 17.75 MB, free: 5.332 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.001137/0.001137, allocations: 190.6 kB / 18.68 MB, free: 4.406 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.381/1.381, allocations: 222.9 MB / 242.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009847/0.0009847, allocations: 51.92 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2412, allocations: 49.43 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.003552/0.2448, allocations: 2.754 MB / 404.2 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.246, allocations: 0.8645 MB / 405 MB, free: 5.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.2461, allocations: 11.94 kB / 405 MB, free: 5.238 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002083/0.2463, allocations: 59.45 kB / 405.1 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002441/0.2466, allocations: 99.23 kB / 405.2 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.2468, allocations: 95.81 kB / 405.3 MB, free: 4.988 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003221/0.2471, allocations: 358.6 kB / 405.6 MB, free: 4.637 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001858/0.2473, allocations: 109.7 kB / 405.7 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.2475, allocations: 139.5 kB / 405.9 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001825/0.2477, allocations: 147.3 kB / 406 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.499e-05/0.2478, allocations: 28 kB / 406 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.904e-05/0.2478, allocations: 32 kB / 406.1 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.663e-05/0.2479, allocations: 67.7 kB / 406.1 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.248, allocations: 155.2 kB / 406.3 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003135/0.2483, allocations: 363.8 kB / 406.6 MB, free: 3.617 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2483, allocations: 4 kB / 406.6 MB, free: 3.613 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2484, allocations: 0 / 406.6 MB, free: 3.613 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.2484, allocations: 0 / 406.6 MB, free: 3.613 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0008836/0.2493, allocations: 0.6003 MB / 407.3 MB, free: 2.965 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.2493, allocations: 11.89 kB / 407.3 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.975e-05/0.2494, allocations: 32.56 kB / 407.3 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002861/0.2497, allocations: 264.9 kB / 407.6 MB, free: 2.625 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.2497, allocations: 16.94 kB / 407.6 MB, free: 2.609 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.458e-05/0.2497, allocations: 28.38 kB / 407.6 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004633/0.2502, allocations: 249.2 kB / 407.8 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.2502, allocations: 0 / 407.8 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.811e-05/0.2503, allocations: 20 kB / 407.9 MB, free: 2.312 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.2503, allocations: 4 kB / 407.9 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004271/0.2507, allocations: 206.1 kB / 408.1 MB, free: 2.109 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/0.2521, allocations: 1.001 MB / 409.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003949/0.2525, allocations: 212.6 kB / 409.3 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002382/0.2528, allocations: 104.9 kB / 409.4 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.2528, allocations: 11.94 kB / 409.4 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.2529, allocations: 34.56 kB / 409.4 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.373e-06/0.2529, allocations: 0 / 409.4 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.004869/0.2577, allocations: 1.535 MB / 411 MB, free: 15.03 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.2578, allocations: 63.2 kB / 411 MB, free: 14.95 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.258, allocations: 225 kB / 411.2 MB, free: 14.73 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.258, allocations: 33.64 kB / 411.3 MB, free: 14.69 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.45e-05/0.2581, allocations: 184.2 kB / 411.5 MB, free: 14.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.27e-05/0.2582, allocations: 122.2 kB / 411.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.941e-05/0.2583, allocations: 62.08 kB / 411.6 MB, free: 14.31 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.2584, allocations: 338.8 kB / 412 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002351/0.2587, allocations: 108.7 kB / 412.1 MB, free: 13.86 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002581/0.2589, allocations: 157.5 kB / 412.2 MB, free: 13.7 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004988/0.2595, allocations: 280 kB / 412.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2595, allocations: 0 / 412.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001511/0.261, allocations: 0.541 MB / 413 MB, free: 12.85 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.261, allocations: 4 kB / 413 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.261, allocations: 7.938 kB / 413 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001206/0.2622, allocations: 237.5 kB / 413.3 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002611/0.2625, allocations: 59.89 kB / 413.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004425/0.2669, allocations: 4.145 MB / 417.5 MB, free: 8.121 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/0.2672, allocations: 8 kB / 417.5 MB, free: 8.113 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.2672, allocations: 19.92 kB / 417.5 MB, free: 8.094 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (29): * Single equations (assignments): 27 * 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): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001417/0.2674, allocations: 150.5 kB / 417.7 MB, free: 7.938 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.893e-05/0.2674, allocations: 23.72 kB / 417.7 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.166e-05/0.2675, allocations: 42.95 kB / 417.7 MB, free: 7.871 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2675, allocations: 0 / 417.7 MB, free: 7.871 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2675, allocations: 0 / 417.7 MB, free: 7.871 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.005e-05/0.2676, allocations: 100.7 kB / 417.8 MB, free: 7.754 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.829e-05/0.2676, allocations: 7.984 kB / 417.8 MB, free: 7.746 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002262/0.2679, allocations: 19.94 kB / 417.8 MB, free: 7.727 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.701e-05/0.268, allocations: 39.88 kB / 417.9 MB, free: 7.688 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001536/0.2695, allocations: 0.5451 MB / 418.4 MB, free: 7.129 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008693/0.2704, allocations: 0.6129 MB / 419 MB, free: 6.5 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002366/0.2706, allocations: 116.4 kB / 419.2 MB, free: 6.387 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001362/0.2708, allocations: 164.5 kB / 419.3 MB, free: 6.223 MB / 334.1 MB Notification: Performance of Backend: time 4.71e-07/0.2708, allocations: 4 kB / 419.3 MB, free: 6.219 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009553/0.2718, allocations: 0.5501 MB / 419.9 MB, free: 5.637 MB / 334.1 MB Notification: Performance of SimCode: time 0.001022/0.2728, allocations: 1.182 MB / 421.1 MB, free: 4.406 MB / 334.1 MB Notification: Performance of Templates: time 0.008383/0.2812, allocations: 4.915 MB / 426 MB, free: 15.5 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1)