Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.005806/0.005806, allocations: 97.23 kB / 15.73 MB, free: 6.062 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.001171/0.001171, allocations: 196 kB / 16.68 MB, free: 5.98 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.441/1.441, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.001221/0.001221, allocations: 50.14 kB / 326.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09755/0.09878, allocations: 46.63 MB / 373.2 MB, free: 1.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.006859/0.1057, allocations: 5.877 MB / 379 MB, free: 11.43 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003562/0.1093, allocations: 1.904 MB / 381 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004327/0.1098, allocations: 24 kB / 381 MB, free: 9.488 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003442/0.1132, allocations: 1.626 MB / 382.6 MB, free: 7.855 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002152/0.1154, allocations: 0.8278 MB / 383.4 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006723/0.116, allocations: 279.4 kB / 383.7 MB, free: 6.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001/0.1171, allocations: 0.891 MB / 384.6 MB, free: 5.855 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001221/0.1183, allocations: 0.8643 MB / 385.5 MB, free: 4.969 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004324/0.1187, allocations: 394.4 kB / 385.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005582/0.1193, allocations: 0.5448 MB / 386.4 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.643e-05/0.1194, allocations: 87.94 kB / 386.5 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005001/0.1199, allocations: 243.8 kB / 386.7 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.1201, allocations: 203.3 kB / 386.9 MB, free: 3.512 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003767/0.1205, allocations: 465.6 kB / 387.4 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00133/0.1218, allocations: 1.237 MB / 388.6 MB, free: 1.812 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1218, allocations: 4 kB / 388.6 MB, free: 1.809 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1218, allocations: 0 / 388.6 MB, free: 1.809 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.575e-05/0.1218, allocations: 0 / 388.6 MB, free: 1.809 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.003255/0.1251, allocations: 1.45 MB / 390.1 MB, free: 312 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.1252, allocations: 12.03 kB / 390.1 MB, free: 300 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007056/0.1322, allocations: 0.9603 MB / 391 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000718/0.133, allocations: 455 kB / 391.5 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.536e-05/0.133, allocations: 90.48 kB / 391.6 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001707/0.1332, allocations: 108.3 kB / 391.7 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00182/0.135, allocations: 1.129 MB / 392.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.061e-05/0.1351, allocations: 0 / 392.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.321e-05/0.1352, allocations: 44 kB / 392.8 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.879e-05/0.1352, allocations: 28 kB / 392.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002268/0.1375, allocations: 1.144 MB / 394 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005336/0.1428, allocations: 3.927 MB / 397.9 MB, free: 8.102 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003726/0.1466, allocations: 3.767 MB / 401.7 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005001/0.1471, allocations: 324.5 kB / 402 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001219/0.1472, allocations: 89.67 kB / 402.1 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/0.1473, allocations: 55.05 kB / 402.2 MB, free: 3.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 2.845e-06/0.1473, allocations: 0 / 402.2 MB, free: 3.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=71): time 0.001457/0.1488, allocations: 0.7525 MB / 402.9 MB, free: 2.402 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.999e-05/0.1488, allocations: 115.3 kB / 403 MB, free: 2.266 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00037/0.1492, allocations: 324.6 kB / 403.3 MB, free: 1.934 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.01e-05/0.1493, allocations: 41.7 kB / 403.4 MB, free: 1.887 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003021/0.1496, allocations: 459.6 kB / 403.8 MB, free: 1.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000193/0.1498, allocations: 257.9 kB / 404.1 MB, free: 1.176 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002257/0.15, allocations: 178.5 kB / 404.3 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.1502, allocations: 350.8 kB / 404.6 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004292/0.1506, allocations: 245.9 kB / 404.8 MB, free: 416 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006816/0.1513, allocations: 0.563 MB / 405.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.1525, allocations: 0.8715 MB / 406.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.1525, allocations: 4 kB / 406.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001477/0.154, allocations: 0.907 MB / 407.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.154, allocations: 15.88 kB / 407.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/0.1541, allocations: 12 kB / 407.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.973e-05/0.1541, allocations: 16 kB / 407.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007804/0.1549, allocations: 235.6 kB / 407.5 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.471e-05/0.1549, allocations: 24.42 kB / 407.5 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004809/0.1554, allocations: 111.2 kB / 407.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.109e-05/0.1555, allocations: 43.98 kB / 407.6 MB, free: 13.32 MB / 350.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.0003007/0.1558, allocations: 241.5 kB / 407.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.1559, allocations: 51.66 kB / 407.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/0.1572, allocations: 0.6861 MB / 408.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.858e-06/0.1572, allocations: 8 kB / 408.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1572, allocations: 0 / 408.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.1573, allocations: 3.984 kB / 408.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002302/0.1596, allocations: 1.573 MB / 410.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.1596, allocations: 3.938 kB / 410.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005959/0.1602, allocations: 151.8 kB / 410.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.1602, allocations: 8 kB / 410.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.576e-05/0.1602, allocations: 16 kB / 410.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.1603, allocations: 4 kB / 410.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1603, allocations: 3.938 kB / 410.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.1619, allocations: 1.166 MB / 411.5 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.1621, allocations: 136.6 kB / 411.7 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.473e-05/0.1621, allocations: 16 kB / 411.7 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003663/0.1625, allocations: 20 kB / 411.7 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.1626, allocations: 48.58 kB / 411.8 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.704e-05/0.1627, allocations: 20 kB / 411.8 MB, free: 9.059 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002126/0.1629, allocations: 219 kB / 412 MB, free: 8.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1629, allocations: 0 / 412 MB, free: 8.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000782/0.1637, allocations: 247.4 kB / 412.2 MB, free: 8.598 MB / 350.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.0002205/0.1639, allocations: 143 kB / 412.4 MB, free: 8.449 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001233/0.1652, allocations: 0.6908 MB / 413.1 MB, free: 7.766 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.1652, allocations: 0 / 413.1 MB, free: 7.766 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005127/0.1657, allocations: 323.6 kB / 413.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005443/0.1663, allocations: 49.03 kB / 413.4 MB, free: 7.402 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/0.1686, allocations: 1.408 MB / 414.8 MB, free: 5.957 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005291/0.1692, allocations: 0.9241 MB / 415.8 MB, free: 5.008 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003399/0.1695, allocations: 92.89 kB / 415.8 MB, free: 4.914 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.1697, allocations: 55.42 kB / 415.9 MB, free: 4.859 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1697, allocations: 0 / 415.9 MB, free: 4.859 MB / 350.1 MB Notification: Performance of Templates: time 0.01032/0.18, allocations: 5.214 MB / 421.1 MB, free: 15.64 MB / 366.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe 2>&1)