Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4Windings.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(PowerGrids.Electrical.Test.SynchronousMachine4Windings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="PmPu.height|PmPu.offset|PmPu.startTime|bus.ERef|bus.PStart|bus.QStart|bus.R|bus.SNom|bus.UNom|bus.UPhaseStart|bus.URef|bus.UStart|bus.X|bus.Z.im|bus.Z.re|bus.i.im|bus.i.re|bus.localInit|bus.port.IBase|bus.port.IStart|bus.port.PStart|bus.port.QStart|bus.port.SBase|bus.port.SNom|bus.port.UBase|bus.port.UNom|bus.port.UPhaseStart|bus.port.UStart|bus.port.VBase|bus.port.VStart|bus.port.i.im|bus.port.i.re|bus.port.iStart.im|bus.port.iStart.re|bus.port.portVariablesPhases|bus.port.v.im|bus.port.v.re|bus.port.vStart.im|bus.port.vStart.re|bus.portVariablesPhases|bus.theta|bus.v.im|bus.v.re|machine.DPu|machine.H|machine.IStartPu|machine.LDPu|machine.LQ1Pu|machine.LQ2Pu|machine.LdPu|machine.LfPu|machine.LqPu|machine.MdPu|machine.MqPu|machine.PNom|machine.PStart|machine.QStart|machine.SNom|machine.T1dPu|machine.T1qPu|machine.T2dPu|machine.T2qPu|machine.T3dPu|machine.T3qPu|machine.T4dPu|machine.T4qPu|machine.T5dPu|machine.T5qPu|machine.T6dPu|machine.T6qPu|machine.Tpd|machine.Tpd0|machine.Tppd|machine.Tppd0|machine.Tppq|machine.Tppq0|machine.Tpq|machine.Tpq0|machine.UNom|machine.UPhaseStart|machine.UStart|machine.VStartPu|machine.cosPhiStart|machine.excitationPuType|machine.idPu|machine.idPuStart|machine.ifPuStart|machine.initOpt|machine.iqPuStart|machine.kuf|machine.lambdadPuStart|machine.lambdaqPuStart|machine.localInit|machine.mrcPu|machine.neglectTransformerTerms|machine.omega|machine.omegaBase|machine.port.IBase|machine.port.IStart|machine.port.PStart|machine.port.QStart|machine.port.SBase|machine.port.SNom|machine.port.UBase|machine.port.UNom|machine.port.UPhaseStart|machine.port.UStart|machine.port.VBase|machine.port.VStart|machine.port.i.im|machine.port.i.re|machine.port.iStart.im|machine.port.iStart.re|machine.port.portVariablesPhases|machine.port.v.im|machine.port.v.re|machine.port.vStart.im|machine.port.vStart.re|machine.portVariablesPhases|machine.rDPu|machine.rQ1Pu|machine.rQ2Pu|machine.raPu|machine.referenceGenerator|machine.rfPu|machine.sinPhiStart|machine.thetaStart|machine.timeConstApprox|machine.udPuStart|machine.ufPuInStart|machine.ufPuStart|machine.uqPuStart|machine.xdPu|machine.xlPu|machine.xpdPu|machine.xppdPu|machine.xppqPu|machine.xpqPu|machine.xqPu|systemPowerGrids.fNom|systemPowerGrids.initOpt|systemPowerGrids.omegaNom|systemPowerGrids.omegaRef|systemPowerGrids.referenceFrequency|time|ufPu.height|ufPu.offset|ufPu.startTime",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4Windings") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4Windings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="PmPu.height|PmPu.offset|PmPu.startTime|bus.ERef|bus.PStart|bus.QStart|bus.R|bus.SNom|bus.UNom|bus.UPhaseStart|bus.URef|bus.UStart|bus.X|bus.Z.im|bus.Z.re|bus.i.im|bus.i.re|bus.localInit|bus.port.IBase|bus.port.IStart|bus.port.PStart|bus.port.QStart|bus.port.SBase|bus.port.SNom|bus.port.UBase|bus.port.UNom|bus.port.UPhaseStart|bus.port.UStart|bus.port.VBase|bus.port.VStart|bus.port.i.im|bus.port.i.re|bus.port.iStart.im|bus.port.iStart.re|bus.port.portVariablesPhases|bus.port.v.im|bus.port.v.re|bus.port.vStart.im|bus.port.vStart.re|bus.portVariablesPhases|bus.theta|bus.v.im|bus.v.re|machine.DPu|machine.H|machine.IStartPu|machine.LDPu|machine.LQ1Pu|machine.LQ2Pu|machine.LdPu|machine.LfPu|machine.LqPu|machine.MdPu|machine.MqPu|machine.PNom|machine.PStart|machine.QStart|machine.SNom|machine.T1dPu|machine.T1qPu|machine.T2dPu|machine.T2qPu|machine.T3dPu|machine.T3qPu|machine.T4dPu|machine.T4qPu|machine.T5dPu|machine.T5qPu|machine.T6dPu|machine.T6qPu|machine.Tpd|machine.Tpd0|machine.Tppd|machine.Tppd0|machine.Tppq|machine.Tppq0|machine.Tpq|machine.Tpq0|machine.UNom|machine.UPhaseStart|machine.UStart|machine.VStartPu|machine.cosPhiStart|machine.excitationPuType|machine.idPu|machine.idPuStart|machine.ifPuStart|machine.initOpt|machine.iqPuStart|machine.kuf|machine.lambdadPuStart|machine.lambdaqPuStart|machine.localInit|machine.mrcPu|machine.neglectTransformerTerms|machine.omega|machine.omegaBase|machine.port.IBase|machine.port.IStart|machine.port.PStart|machine.port.QStart|machine.port.SBase|machine.port.SNom|machine.port.UBase|machine.port.UNom|machine.port.UPhaseStart|machine.port.UStart|machine.port.VBase|machine.port.VStart|machine.port.i.im|machine.port.i.re|machine.port.iStart.im|machine.port.iStart.re|machine.port.portVariablesPhases|machine.port.v.im|machine.port.v.re|machine.port.vStart.im|machine.port.vStart.re|machine.portVariablesPhases|machine.rDPu|machine.rQ1Pu|machine.rQ2Pu|machine.raPu|machine.referenceGenerator|machine.rfPu|machine.sinPhiStart|machine.thetaStart|machine.timeConstApprox|machine.udPuStart|machine.ufPuInStart|machine.ufPuStart|machine.uqPuStart|machine.xdPu|machine.xlPu|machine.xpdPu|machine.xppdPu|machine.xppqPu|machine.xpqPu|machine.xqPu|systemPowerGrids.fNom|systemPowerGrids.initOpt|systemPowerGrids.omegaNom|systemPowerGrids.omegaRef|systemPowerGrids.referenceFrequency|time|ufPu.height|ufPu.offset|ufPu.startTime",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4Windings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001717/0.001717, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.078/0.078, allocations: 16.77 MB / 307.8 MB, free: 14.54 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002324/0.002324, allocations: 64.55 kB / 372.4 MB, free: 48.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1277, allocations: 53.58 MB / 426 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4Windings): time 0.01732/0.1451, allocations: 14.95 MB / 440.9 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01164/0.1568, allocations: 4.449 MB / 445.4 MB, free: 9.211 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001911/0.1588, allocations: 27.81 kB / 445.4 MB, free: 9.184 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001678/0.1605, allocations: 361.8 kB / 445.8 MB, free: 8.828 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0056/0.1661, allocations: 1.275 MB / 447.1 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003179/0.1693, allocations: 0.7229 MB / 447.8 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003755/0.1731, allocations: 1.649 MB / 449.4 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.1741, allocations: 330.1 kB / 449.7 MB, free: 4.852 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001321/0.1755, allocations: 0.58 MB / 450.3 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001388/0.1769, allocations: 0.6419 MB / 451 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002501/0.1772, allocations: 88 kB / 451.1 MB, free: 3.539 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001295/0.1785, allocations: 335.8 kB / 451.4 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000311/0.1788, allocations: 215.1 kB / 451.6 MB, free: 3 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008675/0.1797, allocations: 0.5442 MB / 452.1 MB, free: 2.453 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002601/0.1823, allocations: 1.325 MB / 453.5 MB, free: 1.125 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.1824, allocations: 0 / 453.5 MB, free: 1.125 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1824, allocations: 0 / 453.5 MB, free: 1.125 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.659e-05/0.1824, allocations: 4 kB / 453.5 MB, free: 1.121 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.007565/0.19, allocations: 1.57 MB / 455 MB, free: 15.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.783e-05/0.1901, allocations: 8.031 kB / 455 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009099/0.191, allocations: 135.7 kB / 455.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002085/0.1931, allocations: 0.6695 MB / 455.8 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.837e-05/0.1932, allocations: 61.44 kB / 455.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001927/0.1934, allocations: 75.98 kB / 456 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/0.1952, allocations: 0.6111 MB / 456.6 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/0.1952, allocations: 4 kB / 456.6 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-05/0.1953, allocations: 20 kB / 456.6 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.748e-05/0.1954, allocations: 19.98 kB / 456.6 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001699/0.1971, allocations: 0.5347 MB / 457.2 MB, free: 13.28 MB / 334.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01084/0.208, allocations: 3.957 MB / 461.1 MB, free: 8.984 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002353/0.2104, allocations: 0.7049 MB / 461.8 MB, free: 8.227 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006984/0.2111, allocations: 226.5 kB / 462.1 MB, free: 8.004 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.712e-05/0.2112, allocations: 12.55 kB / 462.1 MB, free: 7.992 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.63e-05/0.2113, allocations: 43.12 kB / 462.1 MB, free: 7.941 MB / 334.1 MB Notification: Performance of pre-optimization done (n=62): time 5.04e-06/0.2113, allocations: 0 / 462.1 MB, free: 7.941 MB / 334.1 MB Notification: Performance of matching and sorting (n=62): time 0.00803/0.2193, allocations: 1.405 MB / 463.5 MB, free: 6.508 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.2194, allocations: 59.97 kB / 463.6 MB, free: 6.438 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/0.2209, allocations: 0.7034 MB / 464.3 MB, free: 5.727 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001611/0.2211, allocations: 45.7 kB / 464.3 MB, free: 5.676 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004066/0.2215, allocations: 352.7 kB / 464.7 MB, free: 5.324 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003638/0.2219, allocations: 232.7 kB / 464.9 MB, free: 5.094 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004474/0.2224, allocations: 202.8 kB / 465.1 MB, free: 4.891 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002684/0.2227, allocations: 390.7 kB / 465.5 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/0.2237, allocations: 334.5 kB / 465.8 MB, free: 4.172 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/0.2249, allocations: 0.5069 MB / 466.3 MB, free: 3.605 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001932/0.2269, allocations: 0.7787 MB / 467.1 MB, free: 2.766 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.2269, allocations: 0 / 467.1 MB, free: 2.766 MB / 334.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.005898/0.2328, allocations: 1.419 MB / 468.5 MB, free: 1.312 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.044e-05/0.2329, allocations: 8 kB / 468.5 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.396e-05/0.2329, allocations: 4 kB / 468.5 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01082/0.2438, allocations: 1.048 MB / 469.6 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001665/0.2455, allocations: 231.7 kB / 469.8 MB, free: 4 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02009/0.2656, allocations: 11.74 MB / 481.5 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/0.2672, allocations: 94.95 kB / 481.6 MB, free: 3.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/0.2674, allocations: 36 kB / 481.6 MB, free: 3.148 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 1 (machine.isSlackBusPF) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,0,100.0%), (2,0,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(19,0), (2,0), (2,0), (2,0), (2,0)} Notification: Performance of prepare postOptimizeDAE: time 0.0005875/0.268, allocations: 234.4 kB / 481.9 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002852/0.2683, allocations: 82.97 kB / 482 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00289/0.2712, allocations: 0.7926 MB / 482.8 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.407e-05/0.2713, allocations: 7.984 kB / 482.8 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.2713, allocations: 0 / 482.8 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006036/0.2719, allocations: 223.8 kB / 483 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001727/0.2721, allocations: 12 kB / 483 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/0.2732, allocations: 35.97 kB / 483 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001945/0.2734, allocations: 64.41 kB / 483.1 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004324/0.2777, allocations: 0.8466 MB / 483.9 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002578/0.2803, allocations: 0.9532 MB / 484.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006672/0.281, allocations: 200.4 kB / 485.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001062/0.2821, allocations: 467 kB / 485.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of Backend: time 1.072e-06/0.2821, allocations: 0 / 485.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.007074/0.2892, allocations: 1.988 MB / 487.5 MB, free: 13.11 MB / 366.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of SimCode: time 0.006544/0.2958, allocations: 3.088 MB / 490.6 MB, free: 9.988 MB / 366.1 MB Notification: Performance of Templates: time 0.0466/0.3424, allocations: 23.03 MB / 0.5016 GB, free: 2.945 MB / 382.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4Windings.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4Windings.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4Windings.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4Windings.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4Windings.sim & ./PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4Windings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4Windings.pipe 2>&1)