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.001609/0.001609, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001841/0.001841, allocations: 188.9 kB / 17.34 MB, free: 5.695 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07507/0.07507, allocations: 16.77 MB / 308 MB, free: 14.4 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002233/0.002233, allocations: 55.91 kB / 427.3 MB, free: 10.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1322, allocations: 53.56 MB / 480.9 MB, free: 4.895 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.01399/0.1462, allocations: 13.5 MB / 494.4 MB, free: 7.336 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007118/0.1534, allocations: 3.882 MB / 498.2 MB, free: 3.441 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001557/0.1549, allocations: 23.88 kB / 498.3 MB, free: 3.418 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00197/0.1569, allocations: 0.5087 MB / 498.8 MB, free: 2.906 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004696/0.1617, allocations: 1.668 MB / 0.4887 GB, free: 1.242 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002164/0.1638, allocations: 0.8556 MB / 0.4895 GB, free: 412 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003638/0.1675, allocations: 2.345 MB / 0.4918 GB, free: 14.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008896/0.1684, allocations: 401.7 kB / 0.4922 GB, free: 13.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001571/0.17, allocations: 0.8055 MB / 0.493 GB, free: 12.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001555/0.1715, allocations: 0.7935 MB / 0.4938 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003815/0.1719, allocations: 104 kB / 0.4939 GB, free: 11.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001517/0.1735, allocations: 419.7 kB / 0.4943 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003524/0.1738, allocations: 254.8 kB / 0.4945 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001371/0.1752, allocations: 0.7424 MB / 0.4952 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002458/0.1777, allocations: 1.9 MB / 0.4971 GB, free: 8.629 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.1777, allocations: 4 kB / 0.4971 GB, free: 8.625 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1777, allocations: 0 / 0.4971 GB, free: 8.625 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.63e-05/0.1777, allocations: 0 / 0.4971 GB, free: 8.625 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.005635/0.1834, allocations: 2.065 MB / 0.4991 GB, free: 6.508 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.11e-05/0.1834, allocations: 8.031 kB / 0.4991 GB, free: 6.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001599/0.1851, allocations: 315 kB / 0.4994 GB, free: 6.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001626/0.1867, allocations: 0.9497 MB / 0.5004 GB, free: 5.199 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.124e-05/0.1868, allocations: 70.38 kB / 0.5004 GB, free: 5.129 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.1869, allocations: 91.94 kB / 0.5005 GB, free: 5.039 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.1883, allocations: 1.025 MB / 0.5015 GB, free: 3.898 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.042e-05/0.1884, allocations: 7.938 kB / 0.5015 GB, free: 3.891 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.049e-05/0.1885, allocations: 43.98 kB / 0.5016 GB, free: 3.848 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.997e-05/0.1885, allocations: 20 kB / 0.5016 GB, free: 3.828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.1896, allocations: 0.757 MB / 0.5023 GB, free: 3.066 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.2857/0.4753, allocations: 6.645 MB / 0.5088 GB, free: 30.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001795/0.4771, allocations: 1.046 MB / 0.5098 GB, free: 29.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000397/0.4775, allocations: 283.1 kB / 0.5101 GB, free: 29.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.751e-05/0.4776, allocations: 13.14 kB / 0.5101 GB, free: 29.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.4776, allocations: 43.8 kB / 0.5102 GB, free: 29.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=77): time 4.008e-06/0.4776, allocations: 0 / 0.5102 GB, free: 29.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=77): time 0.003906/0.4815, allocations: 1.455 MB / 0.5116 GB, free: 29.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.4816, allocations: 85.03 kB / 0.5117 GB, free: 29.28 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001485/0.4831, allocations: 1.024 MB / 0.5127 GB, free: 28.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.766e-05/0.4832, allocations: 41.67 kB / 0.5127 GB, free: 28.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003576/0.4835, allocations: 0.5006 MB / 0.5132 GB, free: 28.53 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002942/0.4838, allocations: 309.1 kB / 0.5135 GB, free: 28.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005318/0.4844, allocations: 436.1 kB / 0.5139 GB, free: 28.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.238e-05/0.4845, allocations: 352.4 kB / 0.5142 GB, free: 27.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009303/0.4854, allocations: 0.6054 MB / 0.5148 GB, free: 27.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/0.4865, allocations: 0.8048 MB / 0.5156 GB, free: 27.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001569/0.4881, allocations: 1.15 MB / 0.5167 GB, free: 26.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.4881, allocations: 1.312 kB / 0.5167 GB, free: 26.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=299) (initialization): time 0.00424/0.4924, allocations: 2.084 MB / 0.5188 GB, free: 25.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/0.4924, allocations: 8.453 kB / 0.5188 GB, free: 25.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.4924, allocations: 1.312 kB / 0.5188 GB, free: 25.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002178/0.4946, allocations: 380 kB / 0.5191 GB, free: 25.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001756/0.4964, allocations: 469.4 kB / 0.5196 GB, free: 25.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005213/0.5016, allocations: 4.279 MB / 0.5238 GB, free: 22.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001984/0.5036, allocations: 153 kB / 0.5239 GB, free: 21.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/0.5038, allocations: 74.67 kB / 0.524 GB, free: 21.93 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.0006467/0.5044, allocations: 319.8 kB / 0.5243 GB, free: 21.67 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002754/0.5047, allocations: 110.6 kB / 0.5244 GB, free: 21.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002095/0.5068, allocations: 0.8812 MB / 0.5253 GB, free: 21.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.5068, allocations: 11.91 kB / 0.5253 GB, free: 21.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.5068, allocations: 1.094 kB / 0.5253 GB, free: 21.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004887/0.5073, allocations: 298.2 kB / 0.5256 GB, free: 20.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/0.5075, allocations: 12.08 kB / 0.5256 GB, free: 20.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008123/0.5083, allocations: 50.91 kB / 0.5256 GB, free: 20.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.5084, allocations: 56.23 kB / 0.5257 GB, free: 20.94 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001989/0.5104, allocations: 0.9547 MB / 0.5266 GB, free: 20.47 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001369/0.5118, allocations: 1.113 MB / 0.5277 GB, free: 19.82 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003439/0.5122, allocations: 235.1 kB / 0.5279 GB, free: 19.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009219/0.5131, allocations: 0.6543 MB / 0.5286 GB, free: 19.43 MB / 382.1 MB Notification: Performance of Backend: time 1.8e-07/0.5131, allocations: 0 / 0.5286 GB, free: 19.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003988/0.5171, allocations: 1.829 MB / 0.5303 GB, free: 18.59 MB / 382.1 MB Notification: Performance of SimCode: time 0.003224/0.5203, allocations: 3.074 MB / 0.5333 GB, free: 16.63 MB / 382.1 MB Notification: Performance of Templates: time 0.02319/0.5435, allocations: 21.92 MB / 0.5548 GB, free: 14.09 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)