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/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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006558/0.006558, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001156/0.001156, allocations: 195.7 kB / 16.67 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 55.91 kB / 326.5 MB, free: 3.328 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1049, allocations: 46.61 MB / 373.1 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.004119/0.1091, allocations: 2.671 MB / 375.8 MB, free: 1.918 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.1108, allocations: 0.9041 MB / 376.7 MB, free: 1.004 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001625/0.1109, allocations: 4 kB / 376.7 MB, free: 1 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000304/0.1113, allocations: 59.44 kB / 376.8 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003007/0.1116, allocations: 107.2 kB / 376.9 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002734/0.1119, allocations: 107.7 kB / 377 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003587/0.1122, allocations: 342.7 kB / 377.3 MB, free: 404 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002166/0.1125, allocations: 121.6 kB / 377.4 MB, free: 280 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.1127, allocations: 139.5 kB / 377.6 MB, free: 140 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2344/0.3471, allocations: 143 kB / 377.7 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001845/0.3473, allocations: 28.66 kB / 377.7 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.3474, allocations: 29.25 kB / 377.8 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.262e-05/0.3475, allocations: 69.14 kB / 377.8 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001871/0.3477, allocations: 157.8 kB / 378 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005031/0.3482, allocations: 357 kB / 378.3 MB, free: 9.996 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3483, allocations: 0.6562 kB / 378.3 MB, free: 9.996 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3483, allocations: 0.5938 kB / 378.3 MB, free: 9.996 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.737e-06/0.3483, allocations: 0 / 378.3 MB, free: 9.996 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.0009855/0.3493, allocations: 0.5989 MB / 378.9 MB, free: 9.555 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.3493, allocations: 12.8 kB / 379 MB, free: 9.551 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.193e-05/0.3494, allocations: 40.84 kB / 379 MB, free: 9.527 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003769/0.3498, allocations: 262.3 kB / 379.3 MB, free: 9.305 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.3498, allocations: 22.06 kB / 379.3 MB, free: 9.305 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.626e-05/0.3499, allocations: 25.09 kB / 379.3 MB, free: 9.305 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004944/0.3504, allocations: 249.2 kB / 379.5 MB, free: 9.27 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.3504, allocations: 6.781 kB / 379.5 MB, free: 9.266 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.753e-05/0.3505, allocations: 9.562 kB / 379.6 MB, free: 9.266 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.3505, allocations: 6.875 kB / 379.6 MB, free: 9.266 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000443/0.3509, allocations: 211.8 kB / 379.8 MB, free: 9.262 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/0.3525, allocations: 0.9984 MB / 380.8 MB, free: 8.754 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005428/0.3531, allocations: 202.6 kB / 381 MB, free: 8.73 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003094/0.3534, allocations: 114.8 kB / 381.1 MB, free: 8.723 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.163e-05/0.3534, allocations: 5.906 kB / 381.1 MB, free: 8.723 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.3535, allocations: 36.84 kB / 381.1 MB, free: 8.684 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.452e-06/0.3535, allocations: 1.25 kB / 381.1 MB, free: 8.684 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.005252/0.3587, allocations: 1.533 MB / 382.7 MB, free: 8.211 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.3588, allocations: 59.66 kB / 382.7 MB, free: 8.145 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002669/0.359, allocations: 225.8 kB / 382.9 MB, free: 8.043 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.3591, allocations: 35.23 kB / 383 MB, free: 8.008 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.673e-05/0.3592, allocations: 185.6 kB / 383.1 MB, free: 7.879 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.835e-05/0.3593, allocations: 121 kB / 383.3 MB, free: 7.801 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.3594, allocations: 64.09 kB / 383.3 MB, free: 7.777 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.293e-05/0.3595, allocations: 337.1 kB / 383.7 MB, free: 7.453 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002523/0.3597, allocations: 110 kB / 383.8 MB, free: 7.414 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002641/0.36, allocations: 164.4 kB / 383.9 MB, free: 7.324 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004739/0.3605, allocations: 279.4 kB / 384.2 MB, free: 7.176 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3605, allocations: 0.8906 kB / 384.2 MB, free: 7.176 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001559/0.362, allocations: 0.5353 MB / 384.7 MB, free: 6.961 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.3621, allocations: 6.688 kB / 384.7 MB, free: 6.961 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.3621, allocations: 1.188 kB / 384.7 MB, free: 6.961 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001304/0.3634, allocations: 241.4 kB / 385 MB, free: 6.902 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003207/0.3637, allocations: 55.73 kB / 385 MB, free: 6.902 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004495/0.3682, allocations: 4.145 MB / 389.2 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002665/0.3685, allocations: 9.734 kB / 389.2 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.43e-05/0.3686, allocations: 18.48 kB / 389.2 MB, free: 3.289 MB / 318.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.0002197/0.3688, allocations: 150.7 kB / 389.4 MB, free: 3.152 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.375e-05/0.3689, allocations: 24.39 kB / 389.4 MB, free: 3.141 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.085e-05/0.369, allocations: 43.39 kB / 389.4 MB, free: 3.109 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.369, allocations: 3.531 kB / 389.4 MB, free: 3.109 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.465e-05/0.369, allocations: 1.406 kB / 389.4 MB, free: 3.109 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.369, allocations: 3.531 kB / 389.4 MB, free: 3.109 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002163/0.3712, allocations: 0.9818 MB / 390.4 MB, free: 2.539 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.3712, allocations: 1.094 kB / 390.4 MB, free: 2.539 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002224/0.3714, allocations: 41.16 kB / 390.5 MB, free: 2.539 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001191/0.3726, allocations: 247.2 kB / 390.7 MB, free: 2.477 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/0.3727, allocations: 8.25 kB / 390.7 MB, free: 2.473 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004605/0.3773, allocations: 4.127 MB / 394.8 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3773, allocations: 4.547 kB / 394.8 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001938/0.3792, allocations: 0.7289 MB / 395.6 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.3793, allocations: 100.7 kB / 395.7 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.771e-05/0.3794, allocations: 11.88 kB / 395.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.3796, allocations: 12.42 kB / 395.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.3797, allocations: 35.08 kB / 395.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/0.3798, allocations: 15.42 kB / 395.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000187/0.38, allocations: 159.8 kB / 395.9 MB, free: 14.28 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.38, allocations: 0 / 395.9 MB, free: 14.28 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000692/0.3807, allocations: 103.1 kB / 396 MB, free: 14.26 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (coil.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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 (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 Backend phase and start with SimCode phase: time 0.0001373/0.3808, allocations: 102.5 kB / 396.1 MB, free: 14.17 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00117/0.382, allocations: 0.5685 MB / 396.7 MB, free: 13.81 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.382, allocations: 5.094 kB / 396.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006258/0.3826, allocations: 440 kB / 397.1 MB, free: 13.49 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.383, allocations: 23.62 kB / 397.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.3845, allocations: 0.6893 MB / 397.8 MB, free: 13.08 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003775/0.3848, allocations: 0.7814 MB / 398.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.511e-05/0.3849, allocations: 16.7 kB / 398.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.283e-05/0.385, allocations: 18.77 kB / 398.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.385, allocations: 0 / 398.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of Templates: time 0.0129/0.3979, allocations: 5.5 MB / 404.1 MB, free: 11 MB / 334.1 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)