Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00113/0.00113, allocations: 166.7 kB / 7.646 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.369/1.369, allocations: 170.7 MB / 178.7 MB, free: 15.64 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001607/0.001607, allocations: 99.52 kB / 218 MB, free: 8.406 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.489e-05/1.492e-05, allocations: 4 kB / 262.2 MB, free: 26.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07024/0.07027, allocations: 38.77 MB / 301 MB, free: 3.641 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2604/0.3307, allocations: 69.72 MB / 370.7 MB, free: 14.67 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001876/0.3309, allocations: 69.66 kB / 370.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01778/0.3487, allocations: 6.656 MB / 377.4 MB, free: 9.125 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.3487, allocations: 4 kB / 377.4 MB, free: 9.121 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.461e-05/0.3488, allocations: 8 kB / 377.4 MB, free: 9.113 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0009598/0.3497, allocations: 0.531 MB / 378 MB, free: 8.559 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/0.3498, allocations: 12.03 kB / 378 MB, free: 8.547 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.3499, allocations: 31.62 kB / 378 MB, free: 8.516 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004312/0.3504, allocations: 248.7 kB / 378.3 MB, free: 8.254 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.3504, allocations: 8 kB / 378.3 MB, free: 8.246 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.961e-05/0.3505, allocations: 19.95 kB / 378.3 MB, free: 8.227 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000362/0.3508, allocations: 164.5 kB / 378.4 MB, free: 8.121 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003964/0.3513, allocations: 189.2 kB / 378.6 MB, free: 7.977 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.3513, allocations: 0 / 378.6 MB, free: 7.977 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.3513, allocations: 3.938 kB / 378.6 MB, free: 7.973 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.3513, allocations: 12 kB / 378.6 MB, free: 7.961 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/0.3531, allocations: 0.9437 MB / 379.6 MB, free: 7.109 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/0.3534, allocations: 167.6 kB / 379.8 MB, free: 6.988 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.3535, allocations: 95.61 kB / 379.8 MB, free: 6.922 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.3536, allocations: 81.3 kB / 379.9 MB, free: 6.824 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.3537, allocations: 46.69 kB / 380 MB, free: 6.773 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.703e-06/0.3537, allocations: 0 / 380 MB, free: 6.773 MB / 266.7 MB Notification: Performance of matching and sorting (n=31): time 0.004889/0.3586, allocations: 1.167 MB / 381.1 MB, free: 5.738 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.3587, allocations: 55.41 kB / 381.2 MB, free: 5.672 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.3589, allocations: 194.5 kB / 381.4 MB, free: 5.508 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.3589, allocations: 25.7 kB / 381.4 MB, free: 5.477 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.359, allocations: 183.9 kB / 381.6 MB, free: 5.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.736e-05/0.3591, allocations: 99.94 kB / 381.7 MB, free: 5.234 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.721e-05/0.3592, allocations: 0 / 381.7 MB, free: 5.234 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.3593, allocations: 332.8 kB / 382 MB, free: 4.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.3595, allocations: 100.1 kB / 382.1 MB, free: 4.852 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.3597, allocations: 138.9 kB / 382.2 MB, free: 4.742 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/0.36, allocations: 120.7 kB / 382.4 MB, free: 4.664 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.36, allocations: 0 / 382.4 MB, free: 4.664 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001904/0.3619, allocations: 0.4934 MB / 382.9 MB, free: 4.266 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.3619, allocations: 7.938 kB / 382.9 MB, free: 4.258 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.3619, allocations: 4 kB / 382.9 MB, free: 4.254 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005175/0.3625, allocations: 163.5 kB / 383 MB, free: 4.125 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002737/0.3628, allocations: 55.91 kB / 383.1 MB, free: 4.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0035/0.3663, allocations: 2.637 MB / 385.7 MB, free: 1.668 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002811/0.3666, allocations: 12.02 kB / 385.7 MB, free: 1.656 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.155e-05/0.3666, allocations: 11.38 kB / 385.7 MB, free: 1.648 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * 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: 1 {(1,100.0%) 8} * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001345/0.3668, allocations: 110 kB / 385.8 MB, free: 1.535 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.842e-05/0.3668, allocations: 23.72 kB / 385.9 MB, free: 1.512 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001896/0.3687, allocations: 477 kB / 386.3 MB, free: 1.148 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.3688, allocations: 4 kB / 386.3 MB, free: 1.145 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3688, allocations: 0 / 386.3 MB, free: 1.145 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.3688, allocations: 7.938 kB / 386.3 MB, free: 1.137 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002502/0.3713, allocations: 0.8759 MB / 387.2 MB, free: 408 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/0.3713, allocations: 7.984 kB / 387.2 MB, free: 400 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002301/0.3716, allocations: 39.91 kB / 387.3 MB, free: 360 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005112/0.3721, allocations: 152.1 kB / 387.4 MB, free: 240 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.3721, allocations: 7.984 kB / 387.4 MB, free: 232 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003409/0.3755, allocations: 2.645 MB / 390.1 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.421e-06/0.3756, allocations: 8.047 kB / 390.1 MB, free: 13.81 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002075/0.3777, allocations: 0.6855 MB / 390.8 MB, free: 13.26 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/0.3778, allocations: 130.3 kB / 390.9 MB, free: 13.13 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.849e-05/0.3779, allocations: 0 / 390.9 MB, free: 13.13 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/0.3781, allocations: 8 kB / 390.9 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.764e-05/0.3782, allocations: 23.95 kB / 390.9 MB, free: 13.1 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/0.3782, allocations: 15.17 kB / 390.9 MB, free: 13.09 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.00015/0.3784, allocations: 152.8 kB / 391.1 MB, free: 12.96 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3784, allocations: 0 / 391.1 MB, free: 12.96 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005528/0.379, allocations: 80 kB / 391.2 MB, free: 12.88 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (coil.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * 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: 1 {(1,100.0%) 8} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.000278/0.3792, allocations: 131.2 kB / 391.3 MB, free: 12.75 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007541/0.38, allocations: 395.3 kB / 391.7 MB, free: 12.44 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.38, allocations: 0 / 391.7 MB, free: 12.44 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004096/0.3804, allocations: 274.8 kB / 391.9 MB, free: 12.22 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.3807, allocations: 13.64 kB / 392 MB, free: 12.21 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009339/0.3817, allocations: 416.8 kB / 392.4 MB, free: 11.82 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.382, allocations: 0.791 MB / 393.2 MB, free: 11 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001111/0.3822, allocations: 18.06 kB / 393.2 MB, free: 10.99 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.523e-05/0.3822, allocations: 23.25 kB / 393.2 MB, free: 10.97 MB / 282.7 MB Notification: Performance of SimCode: time 3.31e-07/0.3822, allocations: 0 / 393.2 MB, free: 10.97 MB / 282.7 MB Notification: Performance of Templates: time 0.009318/0.3915, allocations: 4.425 MB / 397.6 MB, free: 6.555 MB / 282.7 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe 2>&1)