Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.0009091/0.0009091, allocations: 91.38 kB / 15.06 MB, free: 1.094 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.001021/0.001021, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.587/1.587, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.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.000535/0.0005353, allocations: 8 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3527, allocations: 47.6 MB / 326.5 MB, free: 1.383 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.003848/0.3566, allocations: 2.259 MB / 328.7 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.3583, allocations: 0.798 MB / 329.5 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.3584, allocations: 8.406 kB / 329.5 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002406/0.3587, allocations: 44.38 kB / 329.6 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003098/0.359, allocations: 95.02 kB / 329.7 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002279/0.3592, allocations: 63.5 kB / 329.7 MB, free: 14.8 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004032/0.3597, allocations: 316.6 kB / 330 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002158/0.3599, allocations: 85.17 kB / 330.1 MB, free: 14.57 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002088/0.3601, allocations: 123.7 kB / 330.3 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.3603, allocations: 124.1 kB / 330.4 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.355e-05/0.3604, allocations: 19.28 kB / 330.4 MB, free: 14.41 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.092e-05/0.3604, allocations: 16.28 kB / 330.4 MB, free: 14.41 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.191e-05/0.3605, allocations: 51.52 kB / 330.5 MB, free: 14.37 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.72e-05/0.3606, allocations: 76.39 kB / 330.5 MB, free: 14.32 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003163/0.3609, allocations: 268 kB / 330.8 MB, free: 14.11 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.766e-06/0.3609, allocations: 3.938 kB / 330.8 MB, free: 14.11 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.361, allocations: 0.9688 kB / 330.8 MB, free: 14.11 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.361, allocations: 0 / 330.8 MB, free: 14.11 MB / 270.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.001324/0.3623, allocations: 0.5537 MB / 331.4 MB, free: 13.61 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.901e-05/0.3624, allocations: 8.688 kB / 331.4 MB, free: 13.61 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.3625, allocations: 31.84 kB / 331.4 MB, free: 13.6 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003943/0.3629, allocations: 252.7 kB / 331.6 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.301e-05/0.363, allocations: 22.86 kB / 331.7 MB, free: 13.32 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.516e-05/0.363, allocations: 25.56 kB / 331.7 MB, free: 13.32 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005996/0.3636, allocations: 259.5 kB / 331.9 MB, free: 13.15 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.3637, allocations: 0 / 331.9 MB, free: 13.15 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.566e-05/0.3637, allocations: 10.28 kB / 332 MB, free: 13.14 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.3637, allocations: 6.812 kB / 332 MB, free: 13.14 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005055/0.3642, allocations: 211.5 kB / 332.2 MB, free: 13.05 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.366, allocations: 1.012 MB / 333.2 MB, free: 12.18 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004737/0.3665, allocations: 210.2 kB / 333.4 MB, free: 12.07 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002882/0.3668, allocations: 109.6 kB / 333.5 MB, free: 12.02 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.723e-05/0.3669, allocations: 7.312 kB / 333.5 MB, free: 12.01 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.3669, allocations: 39.66 kB / 333.5 MB, free: 11.96 MB / 270.1 MB Notification: Performance of pre-optimization done (n=23): time 1.513e-06/0.3669, allocations: 0 / 333.5 MB, free: 11.96 MB / 270.1 MB Notification: Performance of matching and sorting (n=35): time 0.004887/0.3718, allocations: 1.554 MB / 335.1 MB, free: 10.59 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.3719, allocations: 51.41 kB / 335.1 MB, free: 10.53 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002604/0.3721, allocations: 225 kB / 335.4 MB, free: 10.3 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.359e-05/0.3722, allocations: 29.7 kB / 335.4 MB, free: 10.26 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.3723, allocations: 184.1 kB / 335.6 MB, free: 10.08 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.3725, allocations: 122.2 kB / 335.7 MB, free: 9.957 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.027e-05/0.3725, allocations: 11.94 kB / 335.7 MB, free: 9.945 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.3726, allocations: 338.8 kB / 336 MB, free: 9.605 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000243/0.3729, allocations: 112.7 kB / 336.1 MB, free: 9.492 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002636/0.3732, allocations: 161.5 kB / 336.3 MB, free: 9.32 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002748/0.3734, allocations: 131.8 kB / 336.4 MB, free: 9.191 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3735, allocations: 0 / 336.4 MB, free: 9.191 MB / 270.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001519/0.375, allocations: 0.5333 MB / 337 MB, free: 8.645 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.375, allocations: 4 kB / 337 MB, free: 8.641 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.375, allocations: 0 / 337 MB, free: 8.641 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001311/0.3763, allocations: 257.5 kB / 337.2 MB, free: 8.383 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.3766, allocations: 63.89 kB / 337.3 MB, free: 8.32 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004741/0.3814, allocations: 3.756 MB / 341 MB, free: 4.293 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.3816, allocations: 12.12 kB / 341 MB, free: 4.281 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.841e-05/0.3816, allocations: 15.94 kB / 341.1 MB, free: 4.266 MB / 270.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 (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%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001813/0.3818, allocations: 149.8 kB / 341.2 MB, free: 4.109 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.26e-05/0.3819, allocations: 27.72 kB / 341.2 MB, free: 4.082 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.382, allocations: 34.97 kB / 341.3 MB, free: 4.047 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.382, allocations: 8.062 kB / 341.3 MB, free: 4.039 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.382, allocations: 3.953 kB / 341.3 MB, free: 4.035 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.3821, allocations: 3.984 kB / 341.3 MB, free: 4.031 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002056/0.3841, allocations: 0.9807 MB / 342.3 MB, free: 2.984 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.3841, allocations: 8.062 kB / 342.3 MB, free: 2.977 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/0.3844, allocations: 39.92 kB / 342.3 MB, free: 2.938 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001263/0.3856, allocations: 253.5 kB / 342.6 MB, free: 2.684 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.736e-05/0.3857, allocations: 4 kB / 342.6 MB, free: 2.68 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004672/0.3903, allocations: 3.732 MB / 346.3 MB, free: 14.68 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.3904, allocations: 4.031 kB / 346.3 MB, free: 14.68 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.3922, allocations: 0.7295 MB / 347 MB, free: 13.92 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.689e-05/0.3923, allocations: 108.8 kB / 347.1 MB, free: 13.79 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.934e-05/0.3923, allocations: 11.98 kB / 347.1 MB, free: 13.78 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.3925, allocations: 15.94 kB / 347.2 MB, free: 13.77 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.3927, allocations: 27.95 kB / 347.2 MB, free: 13.74 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.587e-05/0.3927, allocations: 12 kB / 347.2 MB, free: 13.73 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000177/0.3929, allocations: 160.5 kB / 347.4 MB, free: 13.57 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3929, allocations: 4.062 kB / 347.4 MB, free: 13.57 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006168/0.3935, allocations: 104 kB / 347.5 MB, free: 13.46 MB / 286.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 (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%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.000155/0.3937, allocations: 107.2 kB / 347.6 MB, free: 13.35 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.3948, allocations: 0.5826 MB / 348.2 MB, free: 12.74 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.3948, allocations: 0 / 348.2 MB, free: 12.74 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000639/0.3955, allocations: 441.5 kB / 348.6 MB, free: 12.28 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.3958, allocations: 22.94 kB / 348.6 MB, free: 12.26 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.3974, allocations: 0.833 MB / 349.4 MB, free: 11.39 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004217/0.3978, allocations: 0.7799 MB / 350.2 MB, free: 10.59 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001125/0.3979, allocations: 22.3 kB / 350.2 MB, free: 10.57 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.341e-05/0.398, allocations: 15.44 kB / 350.3 MB, free: 10.55 MB / 286.1 MB Notification: Performance of SimCode: time 4.91e-07/0.398, allocations: 3.938 kB / 350.3 MB, free: 10.55 MB / 286.1 MB Notification: Performance of Templates: time 0.01156/0.4096, allocations: 5.111 MB / 355.4 MB, free: 5.438 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.sim & ./Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe 2>&1)