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.006565/0.006565, allocations: 104.2 kB / 15.74 MB, free: 6.488 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.001591/0.001592, allocations: 199.5 kB / 16.68 MB, free: 6.375 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.47/1.47, allocations: 205.1 MB / 222.6 MB, free: 4.504 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.001482/0.001483, allocations: 46.38 kB / 326.5 MB, free: 14.52 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1122, allocations: 46.63 MB / 373.2 MB, free: 1.469 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.003905/0.1161, allocations: 2.661 MB / 375.8 MB, free: 14.79 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.1176, allocations: 0.9119 MB / 376.7 MB, free: 13.87 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.1177, allocations: 7.938 kB / 376.7 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002747/0.118, allocations: 55.5 kB / 376.8 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002811/0.1183, allocations: 107.2 kB / 376.9 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002424/0.1186, allocations: 95.81 kB / 377 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003508/0.1189, allocations: 350.7 kB / 377.3 MB, free: 13.26 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002124/0.1191, allocations: 113.6 kB / 377.4 MB, free: 13.15 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001843/0.1193, allocations: 135.5 kB / 377.6 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.1195, allocations: 163.2 kB / 377.7 MB, free: 12.86 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.411e-05/0.1196, allocations: 28 kB / 377.8 MB, free: 12.83 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.464e-05/0.1196, allocations: 32 kB / 377.8 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.096e-05/0.1197, allocations: 63.77 kB / 377.9 MB, free: 12.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.1199, allocations: 155.3 kB / 378 MB, free: 12.58 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003448/0.1202, allocations: 358.7 kB / 378.4 MB, free: 12.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1202, allocations: 0 / 378.4 MB, free: 12.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1202, allocations: 0 / 378.4 MB, free: 12.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.1202, allocations: 0 / 378.4 MB, free: 12.23 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.001034/0.1213, allocations: 0.5964 MB / 379 MB, free: 11.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.1213, allocations: 19.83 kB / 379 MB, free: 11.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.454e-05/0.1214, allocations: 36.47 kB / 379 MB, free: 11.53 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003882/0.1218, allocations: 255.7 kB / 379.3 MB, free: 11.24 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.1218, allocations: 20.94 kB / 379.3 MB, free: 11.22 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.191e-05/0.1219, allocations: 24.38 kB / 379.3 MB, free: 11.2 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004869/0.1224, allocations: 253.2 kB / 379.5 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.1224, allocations: 4 kB / 379.6 MB, free: 10.94 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.67e-05/0.1225, allocations: 11.94 kB / 379.6 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.1225, allocations: 8 kB / 379.6 MB, free: 10.92 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004528/0.1229, allocations: 218.1 kB / 379.8 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/0.1245, allocations: 1.005 MB / 380.8 MB, free: 9.617 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004362/0.1249, allocations: 210.5 kB / 381 MB, free: 9.402 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002602/0.1252, allocations: 112.8 kB / 381.1 MB, free: 9.289 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/0.1252, allocations: 0 / 381.1 MB, free: 9.289 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.1253, allocations: 38.56 kB / 381.1 MB, free: 9.242 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.633e-06/0.1253, allocations: 0 / 381.1 MB, free: 9.242 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.005114/0.1304, allocations: 1.53 MB / 382.7 MB, free: 7.633 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.258e-05/0.1305, allocations: 59.34 kB / 382.7 MB, free: 7.562 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002464/0.1307, allocations: 229 kB / 383 MB, free: 7.328 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.1308, allocations: 33.7 kB / 383 MB, free: 7.289 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.1309, allocations: 184.1 kB / 383.2 MB, free: 7.102 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.764e-05/0.131, allocations: 118.2 kB / 383.3 MB, free: 6.984 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.1311, allocations: 66.06 kB / 383.3 MB, free: 6.91 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1313, allocations: 342.8 kB / 383.7 MB, free: 6.566 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002459/0.1315, allocations: 104.7 kB / 383.8 MB, free: 6.465 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000284/0.1318, allocations: 165.4 kB / 383.9 MB, free: 6.289 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005242/0.1324, allocations: 283.9 kB / 384.2 MB, free: 5.996 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1324, allocations: 0 / 384.2 MB, free: 5.996 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001538/0.1339, allocations: 0.5371 MB / 384.8 MB, free: 5.445 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.134, allocations: 4 kB / 384.8 MB, free: 5.441 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.134, allocations: 0 / 384.8 MB, free: 5.441 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/0.1352, allocations: 249.4 kB / 385 MB, free: 5.191 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002671/0.1355, allocations: 63.84 kB / 385.1 MB, free: 5.129 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004922/0.1404, allocations: 4.118 MB / 389.2 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002548/0.1407, allocations: 24.08 kB / 389.2 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.1407, allocations: 16 kB / 389.2 MB, free: 0.6992 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.0002189/0.1409, allocations: 145.7 kB / 389.4 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.567e-05/0.141, allocations: 28 kB / 389.4 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.393e-05/0.1411, allocations: 42.95 kB / 389.4 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1411, allocations: 4 kB / 389.4 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.1411, allocations: 3.938 kB / 389.4 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/0.1411, allocations: 4 kB / 389.5 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002084/0.1432, allocations: 0.9767 MB / 390.4 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.1432, allocations: 3.984 kB / 390.4 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002039/0.1435, allocations: 43.97 kB / 390.5 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001116/0.1446, allocations: 237.5 kB / 390.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.732e-05/0.1446, allocations: 15.98 kB / 390.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004496/0.1491, allocations: 4.118 MB / 394.8 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1491, allocations: 0 / 394.8 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001779/0.1509, allocations: 0.7288 MB / 395.6 MB, free: 9.965 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.986e-05/0.151, allocations: 101 kB / 395.7 MB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.022e-05/0.1511, allocations: 11.94 kB / 395.7 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.1513, allocations: 24.05 kB / 395.7 MB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.1514, allocations: 35.89 kB / 395.7 MB, free: 9.777 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.1514, allocations: 7.938 kB / 395.7 MB, free: 9.77 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001613/0.1516, allocations: 168.5 kB / 395.9 MB, free: 9.605 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1516, allocations: 0 / 395.9 MB, free: 9.605 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006494/0.1523, allocations: 100 kB / 396 MB, free: 9.508 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.0001743/0.1525, allocations: 107.2 kB / 396.1 MB, free: 9.395 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001138/0.1536, allocations: 0.571 MB / 396.7 MB, free: 8.797 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.1536, allocations: 0 / 396.7 MB, free: 8.797 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006174/0.1542, allocations: 429.4 kB / 397.1 MB, free: 8.352 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.1546, allocations: 28.42 kB / 397.1 MB, free: 8.32 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/0.1561, allocations: 0.6877 MB / 397.8 MB, free: 7.594 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.1564, allocations: 0.7838 MB / 398.6 MB, free: 6.785 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.185e-05/0.1565, allocations: 22.28 kB / 398.6 MB, free: 6.766 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.368e-05/0.1566, allocations: 19.44 kB / 398.6 MB, free: 6.746 MB / 334.1 MB Notification: Performance of SimCode: time 1.914e-06/0.1566, allocations: 0 / 398.6 MB, free: 6.746 MB / 334.1 MB Notification: Performance of Templates: time 0.009998/0.1666, allocations: 5.485 MB / 404.1 MB, free: 1.254 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)