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.005087/0.005088, allocations: 99.95 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.001226/0.001226, allocations: 189.3 kB / 16.67 MB, free: 5.973 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.434/1.434, allocations: 205.1 MB / 222.6 MB, free: 4.367 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.001218/0.001218, allocations: 50.61 kB / 326.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1036, allocations: 46.62 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.006685/0.1104, allocations: 5.885 MB / 379 MB, free: 11.39 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003386/0.1138, allocations: 1.912 MB / 381 MB, free: 9.469 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003858/0.1142, allocations: 16 kB / 381 MB, free: 9.453 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003634/0.1179, allocations: 1.618 MB / 382.6 MB, free: 7.828 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001993/0.1199, allocations: 0.8316 MB / 383.4 MB, free: 6.992 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006551/0.1205, allocations: 287.4 kB / 383.7 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009112/0.1215, allocations: 0.8988 MB / 384.6 MB, free: 5.809 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001224/0.1227, allocations: 0.8643 MB / 385.5 MB, free: 4.922 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004438/0.1231, allocations: 394.4 kB / 385.9 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005802/0.1237, allocations: 0.5292 MB / 386.4 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.1239, allocations: 84 kB / 386.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004942/0.1244, allocations: 247.8 kB / 386.7 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001396/0.1245, allocations: 211.2 kB / 386.9 MB, free: 3.473 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003585/0.1249, allocations: 469.7 kB / 387.4 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00121/0.1261, allocations: 1.229 MB / 388.6 MB, free: 1.777 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1261, allocations: 4 kB / 388.6 MB, free: 1.773 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1261, allocations: 0 / 388.6 MB, free: 1.773 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.1261, allocations: 0 / 388.6 MB, free: 1.773 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.003237/0.1294, allocations: 1.454 MB / 390.1 MB, free: 272 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.1294, allocations: 8.031 kB / 390.1 MB, free: 264 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006969/0.1364, allocations: 0.9681 MB / 391 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000845/0.1373, allocations: 447 kB / 391.5 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.373e-05/0.1373, allocations: 82.55 kB / 391.6 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/0.1375, allocations: 112.3 kB / 391.7 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001926/0.1394, allocations: 1.133 MB / 392.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.626e-05/0.1395, allocations: 7.984 kB / 392.8 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.141e-05/0.1396, allocations: 47.94 kB / 392.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/0.1396, allocations: 24 kB / 392.9 MB, free: 13.37 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001841/0.1415, allocations: 1.132 MB / 394 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005162/0.1466, allocations: 3.931 MB / 397.9 MB, free: 8.066 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00352/0.1502, allocations: 3.771 MB / 401.7 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004838/0.1507, allocations: 320.6 kB / 402 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001045/0.1508, allocations: 97.64 kB / 402.1 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.847e-05/0.1508, allocations: 47 kB / 402.2 MB, free: 3.125 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 3.557e-06/0.1509, allocations: 4 kB / 402.2 MB, free: 3.121 MB / 334.1 MB Notification: Performance of matching and sorting (n=71): time 0.001431/0.1523, allocations: 0.7567 MB / 402.9 MB, free: 2.359 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/0.1524, allocations: 107.4 kB / 403 MB, free: 2.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003417/0.1527, allocations: 328.3 kB / 403.3 MB, free: 1.895 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.891e-05/0.1528, allocations: 37.7 kB / 403.4 MB, free: 1.852 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002243/0.153, allocations: 459.6 kB / 403.8 MB, free: 1.395 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/0.1531, allocations: 257.9 kB / 404.1 MB, free: 1.141 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002077/0.1534, allocations: 170.5 kB / 404.3 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.1535, allocations: 358.8 kB / 404.6 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004157/0.1539, allocations: 241.9 kB / 404.8 MB, free: 384 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006086/0.1545, allocations: 0.563 MB / 405.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.1556, allocations: 0.8793 MB / 406.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.1556, allocations: 3.938 kB / 406.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001399/0.157, allocations: 0.8951 MB / 407.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.1571, allocations: 20.75 kB / 407.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.1571, allocations: 8 kB / 407.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.952e-05/0.1571, allocations: 20 kB / 407.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007537/0.1579, allocations: 239.6 kB / 407.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.081e-05/0.1579, allocations: 23.88 kB / 407.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004623/0.1584, allocations: 111.2 kB / 407.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.742e-05/0.1584, allocations: 40 kB / 407.6 MB, free: 13.29 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.0002767/0.1587, allocations: 241.5 kB / 407.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.1588, allocations: 55.64 kB / 407.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001191/0.16, allocations: 0.6823 MB / 408.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.1601, allocations: 8 kB / 408.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.1601, allocations: 4 kB / 408.6 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-06/0.1601, allocations: 7.969 kB / 408.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002249/0.1623, allocations: 1.565 MB / 410.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.1624, allocations: 11.94 kB / 410.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005738/0.1629, allocations: 151.8 kB / 410.3 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.431e-06/0.163, allocations: 4 kB / 410.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.977e-05/0.163, allocations: 19.98 kB / 410.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.163, allocations: 4 kB / 410.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.163, allocations: 0 / 410.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001647/0.1647, allocations: 1.166 MB / 411.5 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.973e-05/0.1648, allocations: 132.6 kB / 411.7 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.551e-05/0.1649, allocations: 16 kB / 411.7 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003607/0.1652, allocations: 23.98 kB / 411.7 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.1654, allocations: 56.59 kB / 411.8 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.432e-05/0.1654, allocations: 16 kB / 411.8 MB, free: 9.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002166/0.1656, allocations: 215.1 kB / 412 MB, free: 8.805 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1656, allocations: 0 / 412 MB, free: 8.805 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008247/0.1665, allocations: 243.3 kB / 412.2 MB, free: 8.566 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.0002685/0.1667, allocations: 151 kB / 412.4 MB, free: 8.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001129/0.1679, allocations: 0.6896 MB / 413.1 MB, free: 7.727 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.1679, allocations: 1.688 kB / 413.1 MB, free: 7.727 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004721/0.1684, allocations: 323.6 kB / 413.4 MB, free: 7.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005441/0.1689, allocations: 49.16 kB / 413.4 MB, free: 7.363 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/0.1713, allocations: 1.411 MB / 414.8 MB, free: 5.914 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004878/0.1718, allocations: 0.9281 MB / 415.8 MB, free: 4.961 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003469/0.1721, allocations: 88.89 kB / 415.9 MB, free: 4.871 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.1723, allocations: 55.44 kB / 415.9 MB, free: 4.816 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1723, allocations: 0 / 415.9 MB, free: 4.816 MB / 350.1 MB Notification: Performance of Templates: time 0.01012/0.1824, allocations: 5.215 MB / 421.1 MB, free: 15.59 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)