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.005795/0.005794, allocations: 100.9 kB / 15.73 MB, free: 6.469 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.001123/0.001123, allocations: 196.9 kB / 16.67 MB, free: 6.379 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.487/1.487, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.001344/0.001345, allocations: 57.73 kB / 326.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.114, allocations: 46.63 MB / 373.2 MB, free: 1.344 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.007474/0.1215, allocations: 2.664 MB / 375.8 MB, free: 14.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00252/0.1241, allocations: 0.908 MB / 376.7 MB, free: 13.74 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000357/0.1244, allocations: 4 kB / 376.7 MB, free: 13.74 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004172/0.1249, allocations: 59.48 kB / 376.8 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007219/0.1257, allocations: 107.2 kB / 376.9 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005331/0.1262, allocations: 103.8 kB / 377 MB, free: 13.47 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007604/0.127, allocations: 350.6 kB / 377.3 MB, free: 13.13 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003419/0.1273, allocations: 109.6 kB / 377.4 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003763/0.1277, allocations: 139.5 kB / 377.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003783/0.1281, allocations: 159.3 kB / 377.7 MB, free: 12.73 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.781e-05/0.1282, allocations: 32 kB / 377.8 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.729e-05/0.1283, allocations: 28 kB / 377.8 MB, free: 12.67 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.058e-05/0.1284, allocations: 63.77 kB / 377.9 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002284/0.1287, allocations: 151.3 kB / 378 MB, free: 12.46 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005504/0.1292, allocations: 358.7 kB / 378.4 MB, free: 12.11 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.1292, allocations: 0 / 378.4 MB, free: 12.11 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1292, allocations: 3.938 kB / 378.4 MB, free: 12.1 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.858e-05/0.1293, allocations: 0 / 378.4 MB, free: 12.1 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.001581/0.1309, allocations: 0.5964 MB / 379 MB, free: 11.46 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.656e-05/0.1309, allocations: 11.89 kB / 379 MB, free: 11.45 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.131, allocations: 40.47 kB / 379 MB, free: 11.41 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005208/0.1316, allocations: 255.8 kB / 379.3 MB, free: 11.12 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.266e-05/0.1316, allocations: 32.88 kB / 379.3 MB, free: 11.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.804e-05/0.1317, allocations: 24.38 kB / 379.3 MB, free: 11.06 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007232/0.1324, allocations: 253.1 kB / 379.6 MB, free: 10.81 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.1325, allocations: 3.938 kB / 379.6 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.372e-05/0.1325, allocations: 12 kB / 379.6 MB, free: 10.79 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.1325, allocations: 8 kB / 379.6 MB, free: 10.79 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006486/0.1332, allocations: 210.1 kB / 379.8 MB, free: 10.58 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002265/0.1355, allocations: 1.005 MB / 380.8 MB, free: 9.488 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006052/0.1361, allocations: 202.5 kB / 381 MB, free: 9.281 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003565/0.1365, allocations: 108.8 kB / 381.1 MB, free: 9.172 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.612e-05/0.1365, allocations: 4 kB / 381.1 MB, free: 9.168 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.1366, allocations: 30.56 kB / 381.1 MB, free: 9.129 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.953e-06/0.1366, allocations: 4 kB / 381.1 MB, free: 9.125 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.007074/0.1437, allocations: 1.534 MB / 382.7 MB, free: 7.512 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.1437, allocations: 59.34 kB / 382.7 MB, free: 7.441 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003258/0.1441, allocations: 233 kB / 383 MB, free: 7.203 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.1441, allocations: 29.7 kB / 383 MB, free: 7.168 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.1443, allocations: 180.2 kB / 383.2 MB, free: 6.984 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/0.1444, allocations: 126.2 kB / 383.3 MB, free: 6.859 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.1446, allocations: 62.08 kB / 383.3 MB, free: 6.789 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1448, allocations: 342.8 kB / 383.7 MB, free: 6.445 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003575/0.1451, allocations: 112.6 kB / 383.8 MB, free: 6.336 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004035/0.1456, allocations: 165.5 kB / 383.9 MB, free: 6.16 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007481/0.1463, allocations: 276 kB / 384.2 MB, free: 5.875 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1463, allocations: 0 / 384.2 MB, free: 5.875 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.002143/0.1485, allocations: 0.5331 MB / 384.7 MB, free: 5.328 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.1485, allocations: 8 kB / 384.8 MB, free: 5.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.1485, allocations: 0 / 384.8 MB, free: 5.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001678/0.1502, allocations: 245.5 kB / 385 MB, free: 5.074 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003806/0.1506, allocations: 63.89 kB / 385.1 MB, free: 5.012 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006164/0.1568, allocations: 4.133 MB / 389.2 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003262/0.1572, allocations: 8.031 kB / 389.2 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.175e-05/0.1572, allocations: 19.98 kB / 389.2 MB, free: 0.5781 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.0002371/0.1575, allocations: 153.7 kB / 389.4 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.056e-05/0.1575, allocations: 23.72 kB / 389.4 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.1576, allocations: 43.03 kB / 389.4 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1577, allocations: 0 / 389.4 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.1577, allocations: 4.281 kB / 389.4 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.1577, allocations: 3.984 kB / 389.4 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00281/0.1605, allocations: 0.9767 MB / 390.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.1605, allocations: 7.922 kB / 390.4 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002916/0.1608, allocations: 43.98 kB / 390.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001596/0.1624, allocations: 237.5 kB / 390.7 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.574e-05/0.1625, allocations: 11.98 kB / 390.7 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005335/0.1678, allocations: 4.125 MB / 394.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1679, allocations: 0 / 394.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/0.1696, allocations: 0.725 MB / 395.6 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.335e-05/0.1697, allocations: 104.8 kB / 395.7 MB, free: 9.719 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.22e-05/0.1697, allocations: 12 kB / 395.7 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/0.17, allocations: 12 kB / 395.7 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.841e-05/0.1701, allocations: 36.11 kB / 395.7 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.1701, allocations: 12 kB / 395.7 MB, free: 9.648 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001518/0.1703, allocations: 164.5 kB / 395.9 MB, free: 9.488 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1703, allocations: 3.938 kB / 395.9 MB, free: 9.484 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006001/0.1709, allocations: 104 kB / 396 MB, free: 9.383 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.0001194/0.171, allocations: 103.2 kB / 396.1 MB, free: 9.273 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001005/0.172, allocations: 0.5673 MB / 396.7 MB, free: 8.68 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.172, allocations: 4.062 kB / 396.7 MB, free: 8.676 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005677/0.1726, allocations: 433 kB / 397.1 MB, free: 8.227 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.1729, allocations: 20.44 kB / 397.1 MB, free: 8.203 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.1743, allocations: 0.6994 MB / 397.8 MB, free: 7.465 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004193/0.1747, allocations: 0.7799 MB / 398.6 MB, free: 6.66 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.813e-05/0.1748, allocations: 22.28 kB / 398.6 MB, free: 6.641 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.568e-05/0.1749, allocations: 23.42 kB / 398.6 MB, free: 6.617 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1749, allocations: 0 / 398.6 MB, free: 6.617 MB / 334.1 MB Notification: Performance of Templates: time 0.01068/0.1856, allocations: 5.653 MB / 404.3 MB, free: 0.957 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)