Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.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.Electrical.QuasiStationary.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 110.1 kB / 16.92 MB, free: 5.77 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.00217/0.00217, allocations: 191.5 kB / 17.85 MB, free: 5.164 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.429/1.429, allocations: 205.1 MB / 223.7 MB, free: 12.33 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.001351/0.001352, allocations: 53.95 kB / 280 MB, free: 3.188 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1017, allocations: 46.63 MB / 326.6 MB, free: 4.48 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.007364/0.1091, allocations: 5.881 MB / 332.5 MB, free: 14.56 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003161/0.1123, allocations: 1.893 MB / 334.4 MB, free: 12.65 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002851/0.1127, allocations: 20 kB / 334.4 MB, free: 12.63 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003135/0.1158, allocations: 1.637 MB / 336.1 MB, free: 10.99 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00167/0.1175, allocations: 0.8278 MB / 336.9 MB, free: 10.16 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005734/0.1181, allocations: 275.5 kB / 337.2 MB, free: 9.887 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007658/0.1188, allocations: 0.8989 MB / 338 MB, free: 8.984 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001143/0.12, allocations: 0.8839 MB / 338.9 MB, free: 8.078 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004183/0.1204, allocations: 378.6 kB / 339.3 MB, free: 7.707 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005439/0.121, allocations: 0.5331 MB / 339.8 MB, free: 7.172 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.1211, allocations: 84 kB / 339.9 MB, free: 7.09 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004709/0.1216, allocations: 247.8 kB / 340.2 MB, free: 6.848 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001489/0.1217, allocations: 211.2 kB / 340.4 MB, free: 6.641 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003646/0.1221, allocations: 465.6 kB / 340.8 MB, free: 6.184 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001089/0.1232, allocations: 1.215 MB / 342 MB, free: 4.965 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1232, allocations: 7.938 kB / 342 MB, free: 4.957 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1232, allocations: 4 kB / 342 MB, free: 4.953 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.1232, allocations: 0 / 342 MB, free: 4.953 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.003142/0.1264, allocations: 1.413 MB / 343.5 MB, free: 3.488 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.1264, allocations: 12.03 kB / 343.5 MB, free: 3.477 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006814/0.1333, allocations: 0.9676 MB / 344.4 MB, free: 2.508 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005607/0.1338, allocations: 454.9 kB / 344.9 MB, free: 2.023 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.354e-05/0.1339, allocations: 78.55 kB / 345 MB, free: 1.945 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.134, allocations: 104.4 kB / 345.1 MB, free: 1.844 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.1358, allocations: 1.133 MB / 346.2 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.862e-05/0.1358, allocations: 4 kB / 346.2 MB, free: 0.668 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.816e-05/0.1359, allocations: 40 kB / 346.2 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.013e-05/0.1359, allocations: 28 kB / 346.3 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001785/0.1377, allocations: 1.128 MB / 347.4 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005305/0.143, allocations: 3.976 MB / 351.4 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003133/0.1462, allocations: 3.752 MB / 355.1 MB, free: 6.832 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004404/0.1466, allocations: 320.6 kB / 355.4 MB, free: 6.512 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.337e-05/0.1468, allocations: 97.66 kB / 355.5 MB, free: 6.398 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.1468, allocations: 47.05 kB / 355.6 MB, free: 6.344 MB / 302.1 MB Notification: Performance of pre-optimization done (n=71): time 3.487e-06/0.1468, allocations: 0 / 355.6 MB, free: 6.344 MB / 302.1 MB Notification: Performance of matching and sorting (n=71): time 0.001341/0.1482, allocations: 0.7602 MB / 356.3 MB, free: 5.578 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.069e-05/0.1482, allocations: 111.4 kB / 356.4 MB, free: 5.445 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003093/0.1486, allocations: 324.2 kB / 356.8 MB, free: 5.117 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/0.1486, allocations: 37.7 kB / 356.8 MB, free: 5.074 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002453/0.1489, allocations: 449.9 kB / 357.2 MB, free: 4.625 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.149, allocations: 236.6 kB / 357.5 MB, free: 4.391 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002166/0.1492, allocations: 178.5 kB / 357.6 MB, free: 4.211 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.1494, allocations: 350.8 kB / 358 MB, free: 3.859 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004304/0.1498, allocations: 249.9 kB / 358.2 MB, free: 3.613 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006139/0.1504, allocations: 0.5552 MB / 358.8 MB, free: 2.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.1515, allocations: 0.8793 MB / 359.7 MB, free: 1.887 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.1516, allocations: 4 kB / 359.7 MB, free: 1.883 MB / 302.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001444/0.153, allocations: 0.8954 MB / 360.6 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.153, allocations: 16.16 kB / 360.6 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.1531, allocations: 12 kB / 360.6 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/0.1531, allocations: 16 kB / 360.6 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007716/0.1539, allocations: 231.6 kB / 360.8 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.644e-05/0.1539, allocations: 27.86 kB / 360.9 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004835/0.1544, allocations: 106.9 kB / 361 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.925e-05/0.1545, allocations: 44 kB / 361 MB, free: 0.5352 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (122): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003599/0.1548, allocations: 241.5 kB / 361.2 MB, free: 296 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.155, allocations: 55.31 kB / 361.3 MB, free: 240 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001239/0.1562, allocations: 0.6823 MB / 362 MB, free: 15.55 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.1562, allocations: 8 kB / 362 MB, free: 15.54 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.1562, allocations: 0 / 362 MB, free: 15.54 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.1563, allocations: 3.984 kB / 362 MB, free: 15.54 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002326/0.1586, allocations: 1.59 MB / 363.6 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.1586, allocations: 7.938 kB / 363.6 MB, free: 13.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005754/0.1592, allocations: 151.8 kB / 363.7 MB, free: 13.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.186e-06/0.1592, allocations: 4 kB / 363.7 MB, free: 13.73 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-05/0.1593, allocations: 12 kB / 363.8 MB, free: 13.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.1593, allocations: 8 kB / 363.8 MB, free: 13.71 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.1593, allocations: 0 / 363.8 MB, free: 13.71 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00168/0.161, allocations: 1.166 MB / 364.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.1611, allocations: 132.3 kB / 365.1 MB, free: 12.38 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.845e-05/0.1612, allocations: 12 kB / 365.1 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003594/0.1615, allocations: 32 kB / 365.1 MB, free: 12.33 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.1617, allocations: 48.58 kB / 365.1 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.392e-05/0.1617, allocations: 16 kB / 365.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002249/0.1619, allocations: 215.1 kB / 365.4 MB, free: 12.06 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1619, allocations: 0 / 365.4 MB, free: 12.06 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008651/0.1628, allocations: 247.1 kB / 365.6 MB, free: 11.82 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,voltageSource.pin_p.reference.gamma) * 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 (78): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002745/0.1631, allocations: 151.1 kB / 365.8 MB, free: 11.66 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001424/0.1645, allocations: 0.7216 MB / 366.5 MB, free: 10.94 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1645, allocations: 0.8125 kB / 366.5 MB, free: 10.94 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004769/0.165, allocations: 323.7 kB / 366.8 MB, free: 10.62 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006212/0.1657, allocations: 54.23 kB / 366.9 MB, free: 10.57 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002433/0.1681, allocations: 1.405 MB / 368.3 MB, free: 9.133 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007473/0.1689, allocations: 0.9281 MB / 369.2 MB, free: 8.176 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003891/0.1693, allocations: 96.88 kB / 369.3 MB, free: 8.082 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.1694, allocations: 55.42 kB / 369.3 MB, free: 8.027 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1694, allocations: 0 / 369.3 MB, free: 8.027 MB / 318.1 MB Notification: Performance of Templates: time 0.01008/0.1795, allocations: 5.127 MB / 374.5 MB, free: 2.898 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe 2>&1)