Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.006826/0.006826, allocations: 101.1 kB / 15.73 MB, free: 6.051 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.001198/0.001198, allocations: 187.8 kB / 16.67 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.418/1.418, allocations: 205.1 MB / 222.5 MB, free: 4.395 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.001203/0.001203, allocations: 50.27 kB / 326.5 MB, free: 14.6 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09937/0.1006, allocations: 46.63 MB / 373.2 MB, free: 1.434 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.007021/0.1076, allocations: 5.87 MB / 379 MB, free: 11.53 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003863/0.1115, allocations: 1.92 MB / 381 MB, free: 9.598 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005073/0.1121, allocations: 16 kB / 381 MB, free: 9.582 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00383/0.116, allocations: 1.63 MB / 382.6 MB, free: 7.945 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00243/0.1184, allocations: 0.82 MB / 383.4 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008247/0.1192, allocations: 287.4 kB / 383.7 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001235/0.1205, allocations: 0.891 MB / 384.6 MB, free: 5.945 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001396/0.1219, allocations: 0.8643 MB / 385.5 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006316/0.1225, allocations: 394.4 kB / 385.8 MB, free: 4.672 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005946/0.1232, allocations: 0.537 MB / 386.4 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.1233, allocations: 84 kB / 386.5 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006293/0.1239, allocations: 243.9 kB / 386.7 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001656/0.1241, allocations: 207.2 kB / 386.9 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004054/0.1245, allocations: 469.7 kB / 387.4 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001351/0.1259, allocations: 1.23 MB / 388.6 MB, free: 1.914 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1259, allocations: 4 kB / 388.6 MB, free: 1.91 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1259, allocations: 0 / 388.6 MB, free: 1.91 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.1259, allocations: 0 / 388.6 MB, free: 1.91 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.003314/0.1292, allocations: 1.428 MB / 390 MB, free: 440 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.1293, allocations: 12.03 kB / 390 MB, free: 428 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007051/0.1363, allocations: 0.9636 MB / 391 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008186/0.1372, allocations: 447.1 kB / 391.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.427e-05/0.1373, allocations: 74.55 kB / 391.5 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001578/0.1374, allocations: 112.3 kB / 391.6 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00196/0.1394, allocations: 1.133 MB / 392.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.214e-05/0.1394, allocations: 11.98 kB / 392.8 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.419e-05/0.1395, allocations: 44 kB / 392.8 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.234e-05/0.1396, allocations: 28 kB / 392.8 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001927/0.1415, allocations: 1.136 MB / 394 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005911/0.1474, allocations: 3.921 MB / 397.9 MB, free: 8.238 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004123/0.1516, allocations: 3.76 MB / 401.7 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005262/0.1521, allocations: 320.6 kB / 402 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00013/0.1523, allocations: 97.66 kB / 402.1 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.069e-05/0.1523, allocations: 47 kB / 402.1 MB, free: 3.309 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 3.747e-06/0.1523, allocations: 0 / 402.1 MB, free: 3.309 MB / 334.1 MB Notification: Performance of matching and sorting (n=71): time 0.001506/0.1538, allocations: 0.7564 MB / 402.9 MB, free: 2.547 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.813e-05/0.1539, allocations: 111.4 kB / 403 MB, free: 2.414 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004294/0.1544, allocations: 328.2 kB / 403.3 MB, free: 2.078 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.43e-05/0.1544, allocations: 33.7 kB / 403.3 MB, free: 2.039 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003/0.1547, allocations: 442 kB / 403.8 MB, free: 1.598 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000228/0.155, allocations: 256.4 kB / 404 MB, free: 1.344 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002263/0.1552, allocations: 166.5 kB / 404.2 MB, free: 1.176 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.1554, allocations: 358.8 kB / 404.5 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004849/0.1559, allocations: 249.9 kB / 404.8 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007545/0.1566, allocations: 0.5591 MB / 405.3 MB, free: 15.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/0.1578, allocations: 0.8754 MB / 406.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/0.1579, allocations: 4 kB / 406.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001612/0.1595, allocations: 0.8986 MB / 407.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.338e-05/0.1595, allocations: 20.72 kB / 407.1 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/0.1595, allocations: 15.98 kB / 407.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.756e-05/0.1596, allocations: 20 kB / 407.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008327/0.1604, allocations: 235.6 kB / 407.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.626e-05/0.1605, allocations: 19.94 kB / 407.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005017/0.161, allocations: 103 kB / 407.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-05/0.1611, allocations: 44 kB / 407.5 MB, free: 13.49 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.0003768/0.1614, allocations: 249.4 kB / 407.8 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.1616, allocations: 51.38 kB / 407.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001334/0.1629, allocations: 0.6823 MB / 408.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.1629, allocations: 8 kB / 408.5 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1629, allocations: 0 / 408.5 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.163, allocations: 3.984 kB / 408.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002441/0.1654, allocations: 1.561 MB / 410.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.1654, allocations: 7.938 kB / 410.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006222/0.1661, allocations: 147.8 kB / 410.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.1661, allocations: 4 kB / 410.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.337e-05/0.1661, allocations: 23.98 kB / 410.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.765e-06/0.1661, allocations: 4 kB / 410.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1662, allocations: 0 / 410.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001683/0.1678, allocations: 1.166 MB / 411.4 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.168, allocations: 140.3 kB / 411.6 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.722e-05/0.1681, allocations: 12 kB / 411.6 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003583/0.1684, allocations: 23.98 kB / 411.6 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.1685, allocations: 48.66 kB / 411.7 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.702e-05/0.1686, allocations: 20 kB / 411.7 MB, free: 9.238 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002242/0.1688, allocations: 215 kB / 411.9 MB, free: 9.023 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1688, allocations: 0 / 411.9 MB, free: 9.023 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009305/0.1697, allocations: 243.1 kB / 412.1 MB, free: 8.785 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.0002915/0.17, allocations: 143.1 kB / 412.3 MB, free: 8.637 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001155/0.1712, allocations: 0.6896 MB / 413 MB, free: 7.953 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.1712, allocations: 5.688 kB / 413 MB, free: 7.949 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004586/0.1717, allocations: 319.6 kB / 413.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000553/0.1723, allocations: 53.09 kB / 413.3 MB, free: 7.586 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/0.1745, allocations: 1.394 MB / 414.7 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005328/0.1751, allocations: 0.9281 MB / 415.7 MB, free: 5.203 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000336/0.1754, allocations: 92.89 kB / 415.7 MB, free: 5.109 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/0.1756, allocations: 51.44 kB / 415.8 MB, free: 5.059 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1756, allocations: 0 / 415.8 MB, free: 5.059 MB / 350.1 MB Notification: Performance of Templates: time 0.01168/0.1873, allocations: 5.214 MB / 421 MB, free: 15.83 MB / 366.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.makefile (rm -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.sim & ./Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe 2>&1)