Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001403/0.001403, allocations: 108.3 kB / 16.51 MB, free: 6.707 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.001535/0.001535, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.357/1.357, allocations: 205.1 MB / 223.3 MB, free: 12.49 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.001089/0.001089, allocations: 47.92 kB / 279.3 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08495/0.08605, allocations: 46.63 MB / 326 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.003976/0.09007, allocations: 2.717 MB / 328.7 MB, free: 2.156 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001319/0.09141, allocations: 0.8889 MB / 329.6 MB, free: 1.258 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001418/0.09157, allocations: 8 kB / 329.6 MB, free: 1.25 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002721/0.09186, allocations: 47.62 kB / 329.6 MB, free: 1.203 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002616/0.09213, allocations: 95.42 kB / 329.7 MB, free: 1.109 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.09238, allocations: 79.86 kB / 329.8 MB, free: 1.031 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003155/0.0927, allocations: 338.7 kB / 330.1 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001914/0.0929, allocations: 98.17 kB / 330.2 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.09307, allocations: 123.5 kB / 330.3 MB, free: 500 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.09326, allocations: 147.3 kB / 330.5 MB, free: 352 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.659e-05/0.09332, allocations: 19.98 kB / 330.5 MB, free: 332 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.947e-05/0.09337, allocations: 20 kB / 330.5 MB, free: 312 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.432e-05/0.09343, allocations: 55.77 kB / 330.6 MB, free: 256 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.09357, allocations: 143.3 kB / 330.7 MB, free: 112 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003211/0.0939, allocations: 347 kB / 331 MB, free: 15.77 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.09391, allocations: 0 / 331 MB, free: 15.77 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.09392, allocations: 7.938 kB / 331.1 MB, free: 15.76 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.09394, allocations: 0 / 331.1 MB, free: 15.76 MB / 286.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.001036/0.09498, allocations: 0.6003 MB / 331.7 MB, free: 15.11 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.09503, allocations: 8.031 kB / 331.7 MB, free: 15.11 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.91e-05/0.09512, allocations: 32.56 kB / 331.7 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003743/0.0955, allocations: 263.4 kB / 332 MB, free: 14.78 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.192e-05/0.09554, allocations: 24.94 kB / 332 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.427e-05/0.09559, allocations: 24.38 kB / 332 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004766/0.09607, allocations: 249.2 kB / 332.2 MB, free: 14.48 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.09609, allocations: 0 / 332.2 MB, free: 14.48 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.915e-05/0.09613, allocations: 12 kB / 332.3 MB, free: 14.46 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.09614, allocations: 11.94 kB / 332.3 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004265/0.09658, allocations: 210.1 kB / 332.5 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001482/0.09807, allocations: 1.005 MB / 333.5 MB, free: 13.15 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004193/0.0985, allocations: 202.3 kB / 333.7 MB, free: 12.95 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002652/0.09878, allocations: 120.9 kB / 333.8 MB, free: 12.82 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.923e-05/0.09883, allocations: 7.984 kB / 333.8 MB, free: 12.82 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/0.09888, allocations: 34.5 kB / 333.8 MB, free: 12.77 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 1.733e-06/0.09888, allocations: 0 / 333.8 MB, free: 12.77 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.005202/0.1041, allocations: 1.53 MB / 335.4 MB, free: 11.16 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.1041, allocations: 59.34 kB / 335.4 MB, free: 11.09 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.1044, allocations: 232.9 kB / 335.7 MB, free: 10.86 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.1044, allocations: 33.7 kB / 335.7 MB, free: 10.82 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.579e-05/0.1045, allocations: 176.2 kB / 335.9 MB, free: 10.64 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.257e-05/0.1046, allocations: 122.2 kB / 336 MB, free: 10.52 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.1047, allocations: 62.08 kB / 336 MB, free: 10.45 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.1048, allocations: 338.8 kB / 336.4 MB, free: 10.11 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002368/0.1051, allocations: 104.7 kB / 336.5 MB, free: 10.01 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002655/0.1053, allocations: 173.2 kB / 336.6 MB, free: 9.824 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004868/0.1058, allocations: 279.8 kB / 336.9 MB, free: 9.535 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1058, allocations: 0 / 336.9 MB, free: 9.535 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001553/0.1074, allocations: 0.537 MB / 337.4 MB, free: 8.984 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1074, allocations: 4 kB / 337.5 MB, free: 8.98 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.1074, allocations: 3.984 kB / 337.5 MB, free: 8.977 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001268/0.1087, allocations: 249.4 kB / 337.7 MB, free: 8.727 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002709/0.109, allocations: 59.91 kB / 337.8 MB, free: 8.668 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004588/0.1136, allocations: 3.728 MB / 341.5 MB, free: 4.672 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/0.1138, allocations: 8.031 kB / 341.5 MB, free: 4.664 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.656e-05/0.1139, allocations: 12 kB / 341.5 MB, free: 4.652 MB / 286.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.0001894/0.1141, allocations: 157.8 kB / 341.7 MB, free: 4.488 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.722e-05/0.1142, allocations: 23.72 kB / 341.7 MB, free: 4.465 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.549e-05/0.1142, allocations: 39.25 kB / 341.7 MB, free: 4.426 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.1142, allocations: 7.938 kB / 341.7 MB, free: 4.418 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.629e-06/0.1143, allocations: 4 kB / 341.7 MB, free: 4.414 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1143, allocations: 7.922 kB / 341.7 MB, free: 4.406 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0021/0.1164, allocations: 0.9843 MB / 342.7 MB, free: 3.355 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1164, allocations: 0 / 342.7 MB, free: 3.355 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002121/0.1166, allocations: 43.95 kB / 342.8 MB, free: 3.312 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001207/0.1178, allocations: 253.4 kB / 343 MB, free: 3.059 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/0.1179, allocations: 4 kB / 343 MB, free: 3.055 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00404/0.1219, allocations: 3.709 MB / 346.7 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1219, allocations: 0 / 346.7 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001767/0.1237, allocations: 0.7289 MB / 347.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.478e-05/0.1238, allocations: 104.8 kB / 347.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.878e-05/0.1238, allocations: 11.94 kB / 347.6 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.1241, allocations: 12 kB / 347.6 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.22e-05/0.1242, allocations: 31.95 kB / 347.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.1242, allocations: 8 kB / 347.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001399/0.1243, allocations: 164.8 kB / 347.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1243, allocations: 0 / 347.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005611/0.1249, allocations: 104.1 kB / 347.9 MB, free: 13.88 MB / 302.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.000121/0.125, allocations: 111.1 kB / 348 MB, free: 13.75 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009537/0.126, allocations: 0.5594 MB / 348.6 MB, free: 13.17 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.126, allocations: 0 / 348.6 MB, free: 13.17 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005484/0.1266, allocations: 437 kB / 349 MB, free: 12.71 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.1269, allocations: 32.73 kB / 349 MB, free: 12.68 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.1282, allocations: 0.8206 MB / 349.8 MB, free: 11.83 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.1286, allocations: 0.7799 MB / 350.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001035/0.1287, allocations: 18.28 kB / 350.6 MB, free: 11.01 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.009e-05/0.1287, allocations: 15.44 kB / 350.6 MB, free: 10.99 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1287, allocations: 4 kB / 350.6 MB, free: 10.99 MB / 302.1 MB Notification: Performance of Templates: time 0.008418/0.1372, allocations: 5.133 MB / 355.8 MB, free: 5.855 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.sim & ./Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe 2>&1)