Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate.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) Ignoring simflag -noemit -homotopyOnFirstTry=() since it seems broken on HelloWorld Running command: translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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.SynchronousMachine4WindingsAccurate") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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.SynchronousMachine4WindingsAccurate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 114.9 kB / 16.48 MB, free: 5.969 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.001509/0.001509, allocations: 197.2 kB / 17.42 MB, free: 5.488 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.372/1.372, allocations: 225.6 MB / 243.8 MB, free: 14.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07995/0.07995, allocations: 16.95 MB / 313.6 MB, free: 11.38 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.443e-05/2.443e-05, allocations: 2.281 kB / 440.2 MB, free: 14.13 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:4:3-5:21:writable] Warning: Parameter bus.componentPF.UNom has no value, and is fixed during initialization (fixed=true), using available start value (start=400e3) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:6:3-7:21:writable] Warning: Parameter bus.componentPF.SNom has no value, and is fixed during initialization (fixed=true), using available start value (start=100e6) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:4:3-5:21:writable] Warning: Parameter machine.componentPF.UNom has no value, and is fixed during initialization (fixed=true), using available start value (start=400e3) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:6:3-7:21:writable] Warning: Parameter machine.componentPF.SNom has no value, and is fixed during initialization (fixed=true), using available start value (start=100e6) as default value. Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate): time 0.01631/0.01633, allocations: 14.99 MB / 455.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008222/0.02455, allocations: 4.456 MB / 459.7 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001247/0.0258, allocations: 31.81 kB / 459.7 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001224/0.02702, allocations: 369.8 kB / 460 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003143/0.03017, allocations: 1.316 MB / 461.4 MB, free: 8.883 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001702/0.03187, allocations: 0.718 MB / 462.1 MB, free: 8.172 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002584/0.03445, allocations: 1.922 MB / 464 MB, free: 6.246 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005231/0.03498, allocations: 261.9 kB / 464.3 MB, free: 5.977 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008941/0.03587, allocations: 0.6266 MB / 464.9 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008251/0.0367, allocations: 0.6847 MB / 465.6 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001351/0.03683, allocations: 80 kB / 465.6 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000868/0.0377, allocations: 359.7 kB / 466 MB, free: 4.23 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.001718/0.03942, allocations: 1.98 MB / 468 MB, free: 2.23 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0009113/0.04033, allocations: 1.155 MB / 469.1 MB, free: 1.062 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003524/0.04068, allocations: 163.5 kB / 469.3 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0002168/0.0409, allocations: 35.86 kB / 469.3 MB, free: 0.8672 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 (110) * Number of variables: 135 (135) Notification: Performance of Bindings: time 0.004748/0.04564, allocations: 4.396 MB / 473.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0004947/0.04614, allocations: 412.8 kB / 474.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of Early Inline: time 0.00234/0.04848, allocations: 2.026 MB / 476.2 MB, free: 9.809 MB / 350.1 MB Notification: Performance of Simplify 1: time 0.0005394/0.04902, allocations: 364.6 kB / 476.5 MB, free: 9.414 MB / 350.1 MB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of Alias: time 0.002892/0.05191, allocations: 1.835 MB / 478.3 MB, free: 7.344 MB / 350.1 MB Notification: Performance of Simplify 2: time 0.0004701/0.05238, allocations: 336.6 kB / 478.7 MB, free: 6.984 MB / 350.1 MB Notification: Performance of Remove Stream: time 0.0003148/0.0527, allocations: 280.6 kB / 478.9 MB, free: 6.68 MB / 350.1 MB Notification: Performance of Detect States: time 0.0006895/0.05339, allocations: 0.5645 MB / 479.5 MB, free: 6.07 MB / 350.1 MB Notification: Performance of Events: time 0.0002905/0.05368, allocations: 186.3 kB / 479.7 MB, free: 5.887 MB / 350.1 MB Notification: Performance of DAE-Mode: time 1.324e-05/0.05369, allocations: 0 / 479.7 MB, free: 5.887 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0008493/0.05454, allocations: 0.7426 MB / 480.4 MB, free: 5.043 MB / 350.1 MB Notification: Performance of Causalize: time 0.003085/0.05762, allocations: 2.213 MB / 482.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.001344/0.05897, allocations: 1.16 MB / 483.8 MB, free: 1.559 MB / 350.1 MB Notification: Performance of Simplify: time 0.002143/0.06111, allocations: 1.249 MB / 485.1 MB, free: 244 kB / 350.1 MB Notification: Performance of Inline: time 0.002709/0.06382, allocations: 2.423 MB / 487.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0001422/0.06396, allocations: 71.67 kB / 487.5 MB, free: 13.72 MB / 366.1 MB Notification: Performance of Cleanup: time 0.000441/0.0644, allocations: 471.5 kB / 488 MB, free: 13.26 MB / 366.1 MB Notification: Performance of Causalize: time 0.006453/0.07086, allocations: 4.439 MB / 492.4 MB, free: 8.754 MB / 366.1 MB Notification: Performance of Tearing: time 0.005128/0.07598, allocations: 4.067 MB / 496.5 MB, free: 4.438 MB / 366.1 MB Notification: Performance of Initialization: time 1.483e-06/0.07599, allocations: 4.062 kB / 496.5 MB, free: 4.434 MB / 366.1 MB Notification: Performance of Tearing: time 0.002898/0.07888, allocations: 2.049 MB / 498.6 MB, free: 2.332 MB / 366.1 MB Notification: Performance of Categorize: time 3.632e-05/0.07892, allocations: 8 kB / 498.6 MB, free: 2.324 MB / 366.1 MB Notification: Performance of Solve: time 0.001355/0.08028, allocations: 0.5813 MB / 499.2 MB, free: 1.734 MB / 366.1 MB Notification: Performance of Jacobian: time 0.002086/0.08236, allocations: 1.135 MB / 0.4886 GB, free: 0.5625 MB / 366.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 8 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 4 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 6 (6) {machine.theta, machine.omegaPu, machine.lambdafPu, machine.lambdaDPu, machine.lambdaQ1Pu, machine.lambdaQ2Pu} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 10 (10) {$SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 80 (scalar:80, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 157 (scalar:157, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 5 (linear: 5, nonlinear:0) Notification: Performance of backend: time 9.977e-05/0.08246, allocations: 60.81 kB / 0.4886 GB, free: 0.5078 MB / 366.1 MB Notification: Performance of SimCode: time 0.005263/0.08772, allocations: 4.272 MB / 0.4928 GB, free: 12.16 MB / 382.1 MB Notification: Performance of Templates: time 0.02097/0.1087, allocations: 11.18 MB / 0.5037 GB, free: 0.9922 MB / 382.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate.sim & ./PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate.pipe 2>&1)