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.005696/0.005697, allocations: 101.5 kB / 15.73 MB, free: 5.953 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.001174/0.001174, allocations: 192.2 kB / 16.67 MB, free: 5.883 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.45/1.45, allocations: 205.1 MB / 222.5 MB, free: 4.371 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.001325/0.001325, allocations: 53.84 kB / 326.5 MB, free: 14.46 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.109, allocations: 46.62 MB / 373.2 MB, free: 1.297 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.004716/0.1138, allocations: 2.664 MB / 375.8 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.1153, allocations: 0.9041 MB / 376.7 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/0.1155, allocations: 4 kB / 376.7 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002673/0.1158, allocations: 51.52 kB / 376.8 MB, free: 13.64 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000316/0.1161, allocations: 115.2 kB / 376.9 MB, free: 13.53 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/0.1164, allocations: 91.83 kB / 377 MB, free: 13.44 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004049/0.1168, allocations: 362.6 kB / 377.3 MB, free: 13.09 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002269/0.117, allocations: 109.6 kB / 377.4 MB, free: 12.98 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001779/0.1172, allocations: 139.5 kB / 377.6 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.1174, allocations: 155.3 kB / 377.7 MB, free: 12.69 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.563e-05/0.1175, allocations: 32 kB / 377.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.182e-05/0.1175, allocations: 28 kB / 377.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.709e-05/0.1176, allocations: 67.75 kB / 377.9 MB, free: 12.56 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.1177, allocations: 155.2 kB / 378 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003289/0.1181, allocations: 358.7 kB / 378.4 MB, free: 12.06 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1181, allocations: 0 / 378.4 MB, free: 12.06 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1181, allocations: 0 / 378.4 MB, free: 12.06 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.1181, allocations: 0 / 378.4 MB, free: 12.06 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.001087/0.1192, allocations: 0.6003 MB / 379 MB, free: 11.41 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.1192, allocations: 11.89 kB / 379 MB, free: 11.4 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.694e-05/0.1193, allocations: 36.47 kB / 379 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003877/0.1197, allocations: 267.7 kB / 379.3 MB, free: 11.06 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/0.1198, allocations: 24.94 kB / 379.3 MB, free: 11.04 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.285e-05/0.1198, allocations: 24.38 kB / 379.3 MB, free: 11.02 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004785/0.1203, allocations: 253.1 kB / 379.6 MB, free: 10.76 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.1203, allocations: 0 / 379.6 MB, free: 10.76 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.058e-05/0.1204, allocations: 12 kB / 379.6 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.914e-06/0.1204, allocations: 4 kB / 379.6 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004496/0.1208, allocations: 210.1 kB / 379.8 MB, free: 10.54 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.1224, allocations: 1.009 MB / 380.8 MB, free: 9.445 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004489/0.1229, allocations: 203.7 kB / 381 MB, free: 9.238 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/0.1232, allocations: 108.8 kB / 381.1 MB, free: 9.129 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.213e-05/0.1232, allocations: 4 kB / 381.1 MB, free: 9.125 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.1233, allocations: 42.58 kB / 381.1 MB, free: 9.074 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.373e-06/0.1233, allocations: 0 / 381.1 MB, free: 9.074 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.005016/0.1283, allocations: 1.526 MB / 382.7 MB, free: 7.469 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.1283, allocations: 71.27 kB / 382.7 MB, free: 7.387 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.1286, allocations: 225 kB / 383 MB, free: 7.156 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.1286, allocations: 29.7 kB / 383 MB, free: 7.121 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.1287, allocations: 180.2 kB / 383.2 MB, free: 6.938 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.508e-05/0.1288, allocations: 126.2 kB / 383.3 MB, free: 6.812 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.1289, allocations: 62.08 kB / 383.3 MB, free: 6.742 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.129, allocations: 346.7 kB / 383.7 MB, free: 6.395 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/0.1293, allocations: 108.7 kB / 383.8 MB, free: 6.289 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/0.1295, allocations: 161.5 kB / 383.9 MB, free: 6.117 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004705/0.13, allocations: 280 kB / 384.2 MB, free: 5.828 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.13, allocations: 0 / 384.2 MB, free: 5.828 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00146/0.1315, allocations: 0.5293 MB / 384.7 MB, free: 5.285 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.1315, allocations: 8 kB / 384.8 MB, free: 5.277 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.1315, allocations: 0 / 384.8 MB, free: 5.277 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001179/0.1327, allocations: 245.5 kB / 385 MB, free: 5.031 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/0.133, allocations: 59.91 kB / 385.1 MB, free: 4.973 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004574/0.1376, allocations: 4.145 MB / 389.2 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002187/0.1378, allocations: 16.02 kB / 389.2 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.442e-05/0.1378, allocations: 8 kB / 389.2 MB, free: 0.5312 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.0001851/0.138, allocations: 153.7 kB / 389.4 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.269e-05/0.1381, allocations: 23.72 kB / 389.4 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.808e-05/0.1382, allocations: 38.95 kB / 389.4 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.1382, allocations: 8.344 kB / 389.4 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.1382, allocations: 4 kB / 389.4 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.1382, allocations: 0 / 389.4 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001988/0.1402, allocations: 0.9883 MB / 390.4 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1402, allocations: 0 / 390.4 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002085/0.1404, allocations: 43.97 kB / 390.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001125/0.1416, allocations: 237.5 kB / 390.7 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/0.1416, allocations: 4 kB / 390.7 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004305/0.1459, allocations: 4.122 MB / 394.8 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.1459, allocations: 12.05 kB / 394.8 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/0.1477, allocations: 0.7288 MB / 395.6 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.438e-05/0.1478, allocations: 100.8 kB / 395.7 MB, free: 9.668 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.92e-05/0.1478, allocations: 11.88 kB / 395.7 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/0.1481, allocations: 24.27 kB / 395.7 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.634e-05/0.1482, allocations: 31.95 kB / 395.7 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.1482, allocations: 8 kB / 395.7 MB, free: 9.594 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001438/0.1483, allocations: 164.4 kB / 395.9 MB, free: 9.434 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1484, allocations: 0 / 395.9 MB, free: 9.434 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000586/0.1489, allocations: 104 kB / 396 MB, free: 9.332 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.0001245/0.1491, allocations: 107.2 kB / 396.1 MB, free: 9.219 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001026/0.1501, allocations: 0.5671 MB / 396.7 MB, free: 8.625 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.299e-06/0.1501, allocations: 4.25 kB / 396.7 MB, free: 8.621 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005715/0.1507, allocations: 433 kB / 397.1 MB, free: 8.172 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.1511, allocations: 28.42 kB / 397.1 MB, free: 8.141 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.1524, allocations: 0.6801 MB / 397.8 MB, free: 7.422 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.1527, allocations: 0.7799 MB / 398.6 MB, free: 6.617 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.818e-05/0.1528, allocations: 22.28 kB / 398.6 MB, free: 6.598 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.09e-05/0.1529, allocations: 23.44 kB / 398.6 MB, free: 6.574 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1529, allocations: 0 / 398.6 MB, free: 6.574 MB / 334.1 MB Notification: Performance of Templates: time 0.01038/0.1633, allocations: 5.477 MB / 404.1 MB, free: 1.09 MB / 334.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)