Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.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.OneBusImpedanceOneLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="infiniteBus.ERef|infiniteBus.PStart|infiniteBus.QStart|infiniteBus.R|infiniteBus.SNom|infiniteBus.UNom|infiniteBus.UPhaseStart|infiniteBus.URef|infiniteBus.UStart|infiniteBus.X|infiniteBus.Z.im|infiniteBus.Z.re|infiniteBus.i.im|infiniteBus.i.re|infiniteBus.localInit|infiniteBus.port.IBase|infiniteBus.port.IStart|infiniteBus.port.PStart|infiniteBus.port.QStart|infiniteBus.port.SBase|infiniteBus.port.SNom|infiniteBus.port.UBase|infiniteBus.port.UNom|infiniteBus.port.UPhaseStart|infiniteBus.port.UStart|infiniteBus.port.VBase|infiniteBus.port.VStart|infiniteBus.port.i.im|infiniteBus.port.i.re|infiniteBus.port.iStart.im|infiniteBus.port.iStart.re|infiniteBus.port.portVariablesPhases|infiniteBus.port.v.im|infiniteBus.port.v.re|infiniteBus.port.vStart.im|infiniteBus.port.vStart.re|infiniteBus.portVariablesPhases|infiniteBus.theta|infiniteBus.v.im|infiniteBus.v.re|loadPQ.PRef|loadPQ.PRefConst|loadPQ.PStart|loadPQ.QRef|loadPQ.QRefConst|loadPQ.QStart|loadPQ.SNom|loadPQ.UNom|loadPQ.UPhaseStart|loadPQ.URef|loadPQ.UStart|loadPQ.alpha|loadPQ.beta|loadPQ.localInit|loadPQ.port.IBase|loadPQ.port.IStart|loadPQ.port.PStart|loadPQ.port.QStart|loadPQ.port.SBase|loadPQ.port.SNom|loadPQ.port.UBase|loadPQ.port.UNom|loadPQ.port.UPhaseStart|loadPQ.port.UStart|loadPQ.port.VBase|loadPQ.port.VStart|loadPQ.port.i.im|loadPQ.port.i.re|loadPQ.port.iStart.im|loadPQ.port.iStart.re|loadPQ.port.portVariablesPhases|loadPQ.port.v.im|loadPQ.port.v.re|loadPQ.port.vStart.im|loadPQ.port.vStart.re|loadPQ.portVariablesPhases|systemPowerGrids.fNom|systemPowerGrids.initOpt|systemPowerGrids.omegaNom|systemPowerGrids.omegaRef|systemPowerGrids.referenceFrequency|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad") translateModel(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="infiniteBus.ERef|infiniteBus.PStart|infiniteBus.QStart|infiniteBus.R|infiniteBus.SNom|infiniteBus.UNom|infiniteBus.UPhaseStart|infiniteBus.URef|infiniteBus.UStart|infiniteBus.X|infiniteBus.Z.im|infiniteBus.Z.re|infiniteBus.i.im|infiniteBus.i.re|infiniteBus.localInit|infiniteBus.port.IBase|infiniteBus.port.IStart|infiniteBus.port.PStart|infiniteBus.port.QStart|infiniteBus.port.SBase|infiniteBus.port.SNom|infiniteBus.port.UBase|infiniteBus.port.UNom|infiniteBus.port.UPhaseStart|infiniteBus.port.UStart|infiniteBus.port.VBase|infiniteBus.port.VStart|infiniteBus.port.i.im|infiniteBus.port.i.re|infiniteBus.port.iStart.im|infiniteBus.port.iStart.re|infiniteBus.port.portVariablesPhases|infiniteBus.port.v.im|infiniteBus.port.v.re|infiniteBus.port.vStart.im|infiniteBus.port.vStart.re|infiniteBus.portVariablesPhases|infiniteBus.theta|infiniteBus.v.im|infiniteBus.v.re|loadPQ.PRef|loadPQ.PRefConst|loadPQ.PStart|loadPQ.QRef|loadPQ.QRefConst|loadPQ.QStart|loadPQ.SNom|loadPQ.UNom|loadPQ.UPhaseStart|loadPQ.URef|loadPQ.UStart|loadPQ.alpha|loadPQ.beta|loadPQ.localInit|loadPQ.port.IBase|loadPQ.port.IStart|loadPQ.port.PStart|loadPQ.port.QStart|loadPQ.port.SBase|loadPQ.port.SNom|loadPQ.port.UBase|loadPQ.port.UNom|loadPQ.port.UPhaseStart|loadPQ.port.UStart|loadPQ.port.VBase|loadPQ.port.VStart|loadPQ.port.i.im|loadPQ.port.i.re|loadPQ.port.iStart.im|loadPQ.port.iStart.re|loadPQ.port.portVariablesPhases|loadPQ.port.v.im|loadPQ.port.v.re|loadPQ.port.vStart.im|loadPQ.port.vStart.re|loadPQ.portVariablesPhases|systemPowerGrids.fNom|systemPowerGrids.initOpt|systemPowerGrids.omegaNom|systemPowerGrids.omegaRef|systemPowerGrids.referenceFrequency|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 109.7 kB / 16.41 MB, free: 6.496 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.001879/0.001879, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.442/1.442, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.0783/0.0783, allocations: 16.78 MB / 308 MB, free: 14.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 63.91 kB / 427.3 MB, free: 10.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1323, allocations: 53.56 MB / 480.9 MB, free: 4.883 MB / 350.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 infiniteBus.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 infiniteBus.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 loadPQ.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 loadPQ.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.OneBusImpedanceOneLoad): time 0.01536/0.1477, allocations: 13.5 MB / 494.4 MB, free: 7.332 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007865/0.1556, allocations: 3.886 MB / 498.3 MB, free: 3.434 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001975/0.1576, allocations: 23.88 kB / 498.3 MB, free: 3.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002281/0.1599, allocations: 0.5126 MB / 498.8 MB, free: 2.895 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005407/0.1653, allocations: 1.726 MB / 0.4888 GB, free: 1.172 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002377/0.1677, allocations: 0.8649 MB / 0.4896 GB, free: 332 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003867/0.1716, allocations: 2.354 MB / 0.4919 GB, free: 13.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009861/0.1726, allocations: 385.7 kB / 0.4923 GB, free: 13.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001599/0.1742, allocations: 0.8172 MB / 0.4931 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001557/0.1758, allocations: 0.7974 MB / 0.4939 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003709/0.1761, allocations: 104 kB / 0.494 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001545/0.1777, allocations: 411.8 kB / 0.4944 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003467/0.178, allocations: 254.8 kB / 0.4946 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001354/0.1794, allocations: 0.7424 MB / 0.4953 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003136/0.1826, allocations: 1.903 MB / 0.4972 GB, free: 8.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1826, allocations: 0 / 0.4972 GB, free: 8.543 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1826, allocations: 0 / 0.4972 GB, free: 8.543 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.025e-05/0.1827, allocations: 8 kB / 0.4972 GB, free: 8.535 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.007227/0.1899, allocations: 2.11 MB / 0.4993 GB, free: 6.371 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.798e-05/0.19, allocations: 8.031 kB / 0.4993 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00176/0.1917, allocations: 315.9 kB / 0.4996 GB, free: 6.055 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001817/0.1936, allocations: 0.9584 MB / 0.5005 GB, free: 5.055 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.63e-05/0.1936, allocations: 66.38 kB / 0.5006 GB, free: 4.988 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/0.1938, allocations: 91.94 kB / 0.5007 GB, free: 4.898 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/0.1954, allocations: 1.025 MB / 0.5017 GB, free: 3.758 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/0.1954, allocations: 7.922 kB / 0.5017 GB, free: 3.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.12e-05/0.1955, allocations: 40 kB / 0.5017 GB, free: 3.711 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.44e-05/0.1955, allocations: 24 kB / 0.5017 GB, free: 3.688 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001288/0.1968, allocations: 0.757 MB / 0.5025 GB, free: 2.926 MB / 382.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.2515/0.4483, allocations: 6.65 MB / 0.509 GB, free: 30.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/0.45, allocations: 1.052 MB / 0.51 GB, free: 29.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004033/0.4505, allocations: 284.1 kB / 0.5103 GB, free: 29.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.214e-05/0.4505, allocations: 15.98 kB / 0.5103 GB, free: 29.78 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.4506, allocations: 48.06 kB / 0.5103 GB, free: 29.74 MB / 382.1 MB Notification: Performance of pre-optimization done (n=77): time 3.006e-06/0.4506, allocations: 0 / 0.5103 GB, free: 29.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=77): time 0.003926/0.4545, allocations: 1.45 MB / 0.5117 GB, free: 29.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.4545, allocations: 85.64 kB / 0.5118 GB, free: 29.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/0.456, allocations: 1.022 MB / 0.5128 GB, free: 28.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.584e-05/0.4561, allocations: 42.64 kB / 0.5129 GB, free: 28.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003186/0.4564, allocations: 0.5099 MB / 0.5134 GB, free: 28.62 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002885/0.4567, allocations: 328.9 kB / 0.5137 GB, free: 28.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005768/0.4573, allocations: 429.6 kB / 0.5141 GB, free: 28.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.067e-05/0.4574, allocations: 358 kB / 0.5144 GB, free: 27.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00095/0.4583, allocations: 0.6094 MB / 0.515 GB, free: 27.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/0.4594, allocations: 0.8076 MB / 0.5158 GB, free: 27.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001592/0.461, allocations: 1.149 MB / 0.5169 GB, free: 26.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.461, allocations: 3.188 kB / 0.5169 GB, free: 26.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=299) (initialization): time 0.004003/0.465, allocations: 2.089 MB / 0.519 GB, free: 25.69 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.465, allocations: 5.688 kB / 0.519 GB, free: 25.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.4651, allocations: 4.125 kB / 0.519 GB, free: 25.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002233/0.4673, allocations: 387.4 kB / 0.5193 GB, free: 25.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001864/0.4692, allocations: 469.9 kB / 0.5198 GB, free: 25.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005019/0.4742, allocations: 4.275 MB / 0.524 GB, free: 22.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002013/0.4763, allocations: 156.1 kB / 0.5241 GB, free: 22.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001463/0.4764, allocations: 72.2 kB / 0.5242 GB, free: 22 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 2 (loadPQ.componentPF.isSlackBus,infiniteBus.componentPF.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (283): * Single equations (assignments): 281 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(10,0), (8,0)} Notification: Performance of prepare postOptimizeDAE: time 0.0005483/0.477, allocations: 312.5 kB / 0.5245 GB, free: 21.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002449/0.4772, allocations: 122.7 kB / 0.5246 GB, free: 21.69 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001825/0.4791, allocations: 0.8774 MB / 0.5255 GB, free: 21.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.4791, allocations: 7.25 kB / 0.5255 GB, free: 21.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.4791, allocations: 1.5 kB / 0.5255 GB, free: 21.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004641/0.4796, allocations: 306.4 kB / 0.5258 GB, free: 21.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/0.4797, allocations: 16.75 kB / 0.5258 GB, free: 21.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008489/0.4806, allocations: 50.16 kB / 0.5258 GB, free: 21.01 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.4807, allocations: 59.5 kB / 0.5259 GB, free: 21.01 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00196/0.4827, allocations: 0.9537 MB / 0.5268 GB, free: 20.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001346/0.484, allocations: 1.122 MB / 0.5279 GB, free: 19.89 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003609/0.4844, allocations: 238.8 kB / 0.5281 GB, free: 19.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008918/0.4853, allocations: 0.6549 MB / 0.5288 GB, free: 19.49 MB / 382.1 MB Notification: Performance of Backend: time 6.51e-07/0.4853, allocations: 1.5 kB / 0.5288 GB, free: 19.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004137/0.4895, allocations: 1.829 MB / 0.5306 GB, free: 18.64 MB / 382.1 MB Notification: Performance of SimCode: time 0.003448/0.4929, allocations: 3.113 MB / 0.5336 GB, free: 16.64 MB / 382.1 MB Notification: Performance of Templates: time 0.02426/0.5172, allocations: 21.93 MB / 0.555 GB, free: 14.27 MB / 398.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.sim & ./PowerGrids_dev_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe 2>&1)