Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.OneBusOneLoad.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.OneBusOneLoad,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.OneBusOneLoad") translateModel(PowerGrids.Electrical.Test.OneBusOneLoad,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.OneBusOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001246/0.001246, allocations: 187 kB / 17.34 MB, free: 5.762 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.385/1.385, 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.07492/0.07492, allocations: 16.77 MB / 308 MB, free: 14.42 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 59.91 kB / 427.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1171, allocations: 53.57 MB / 480.9 MB, free: 5.023 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.OneBusOneLoad): time 0.01456/0.1317, allocations: 13.49 MB / 494.3 MB, free: 7.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006986/0.1388, allocations: 3.882 MB / 498.2 MB, free: 3.586 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001176/0.14, allocations: 23.88 kB / 498.2 MB, free: 3.562 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001638/0.1416, allocations: 0.5126 MB / 498.8 MB, free: 3.047 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004161/0.1458, allocations: 1.744 MB / 0.4888 GB, free: 1.301 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001927/0.1477, allocations: 0.8453 MB / 0.4896 GB, free: 480 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003082/0.1508, allocations: 2.358 MB / 0.4919 GB, free: 14.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006278/0.1515, allocations: 389.7 kB / 0.4923 GB, free: 13.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001056/0.1525, allocations: 0.8055 MB / 0.4931 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009472/0.1535, allocations: 0.8052 MB / 0.4938 GB, free: 12.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001619/0.1537, allocations: 108 kB / 0.494 GB, free: 11.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009361/0.1546, allocations: 411.8 kB / 0.4943 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002207/0.1548, allocations: 254.8 kB / 0.4946 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00071/0.1555, allocations: 0.7424 MB / 0.4953 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002098/0.1577, allocations: 1.893 MB / 0.4972 GB, free: 8.695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.1577, allocations: 0 / 0.4972 GB, free: 8.695 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1577, allocations: 0 / 0.4972 GB, free: 8.695 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.891e-05/0.1577, allocations: 0 / 0.4972 GB, free: 8.695 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.005636/0.1633, allocations: 2.072 MB / 0.4992 GB, free: 6.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.1634, allocations: 8.031 kB / 0.4992 GB, free: 6.562 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0015/0.1649, allocations: 311.1 kB / 0.4995 GB, free: 6.258 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/0.1666, allocations: 0.9613 MB / 0.5004 GB, free: 5.254 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.653e-05/0.1666, allocations: 70.38 kB / 0.5005 GB, free: 5.184 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.1667, allocations: 87.94 kB / 0.5006 GB, free: 5.098 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.1682, allocations: 1.021 MB / 0.5016 GB, free: 3.961 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.1683, allocations: 3.938 kB / 0.5016 GB, free: 3.957 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.337e-05/0.1684, allocations: 40 kB / 0.5016 GB, free: 3.918 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/0.1684, allocations: 24 kB / 0.5016 GB, free: 3.895 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.1696, allocations: 0.7608 MB / 0.5024 GB, free: 3.129 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.2657/0.4352, allocations: 6.636 MB / 0.5089 GB, free: 30.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/0.4369, allocations: 1.059 MB / 0.5099 GB, free: 29.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003988/0.4374, allocations: 283.2 kB / 0.5102 GB, free: 29.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.574e-05/0.4374, allocations: 15.95 kB / 0.5102 GB, free: 29.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.4375, allocations: 45.22 kB / 0.5102 GB, free: 29.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=77): time 3.006e-06/0.4375, allocations: 0 / 0.5102 GB, free: 29.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=77): time 0.003722/0.4412, allocations: 1.448 MB / 0.5116 GB, free: 29.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.4412, allocations: 88.83 kB / 0.5117 GB, free: 29.26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/0.4426, allocations: 1.028 MB / 0.5127 GB, free: 28.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.732e-05/0.4427, allocations: 41.73 kB / 0.5128 GB, free: 28.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003159/0.443, allocations: 0.4971 MB / 0.5133 GB, free: 28.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002618/0.4433, allocations: 318.6 kB / 0.5136 GB, free: 28.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005621/0.4438, allocations: 425.2 kB / 0.514 GB, free: 28.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.323e-05/0.4439, allocations: 351.7 kB / 0.5143 GB, free: 27.74 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009678/0.4449, allocations: 0.6119 MB / 0.5149 GB, free: 27.49 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/0.4459, allocations: 0.7991 MB / 0.5157 GB, free: 27.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/0.4475, allocations: 1.153 MB / 0.5168 GB, free: 26.47 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.4475, allocations: 3.656 kB / 0.5168 GB, free: 26.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=299) (initialization): time 0.003963/0.4515, allocations: 2.09 MB / 0.5188 GB, free: 25.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.4515, allocations: 5.312 kB / 0.5189 GB, free: 25.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.4515, allocations: 6.719 kB / 0.5189 GB, free: 25.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002167/0.4537, allocations: 372.4 kB / 0.5192 GB, free: 25.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001721/0.4554, allocations: 472.2 kB / 0.5197 GB, free: 25.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004907/0.4604, allocations: 4.266 MB / 0.5238 GB, free: 22.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/0.4622, allocations: 152.8 kB / 0.524 GB, free: 21.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/0.4624, allocations: 71.42 kB / 0.524 GB, free: 21.89 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.0005823/0.4629, allocations: 319.2 kB / 0.5243 GB, free: 21.63 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002478/0.4632, allocations: 124.5 kB / 0.5245 GB, free: 21.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001858/0.4651, allocations: 0.8763 MB / 0.5253 GB, free: 21.17 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.4651, allocations: 3.938 kB / 0.5253 GB, free: 21.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.4651, allocations: 1.281 kB / 0.5253 GB, free: 21.17 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005172/0.4656, allocations: 306.5 kB / 0.5256 GB, free: 20.92 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/0.4658, allocations: 15.17 kB / 0.5256 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008069/0.4666, allocations: 51.34 kB / 0.5257 GB, free: 20.9 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.4667, allocations: 57.08 kB / 0.5257 GB, free: 20.89 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001906/0.4686, allocations: 0.9504 MB / 0.5267 GB, free: 20.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001426/0.4701, allocations: 1.117 MB / 0.5278 GB, free: 19.78 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003608/0.4704, allocations: 237.5 kB / 0.528 GB, free: 19.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009975/0.4714, allocations: 0.6462 MB / 0.5286 GB, free: 19.39 MB / 382.1 MB Notification: Performance of Backend: time 3.51e-07/0.4714, allocations: 3.938 kB / 0.5286 GB, free: 19.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004193/0.4756, allocations: 1.824 MB / 0.5304 GB, free: 18.55 MB / 382.1 MB Notification: Performance of SimCode: time 0.003332/0.479, allocations: 3.076 MB / 0.5334 GB, free: 16.59 MB / 382.1 MB Notification: Performance of Templates: time 0.02259/0.5016, allocations: 21.9 MB / 0.5548 GB, free: 14.18 MB / 398.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.OneBusOneLoad.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.OneBusOneLoad.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.OneBusOneLoad.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.OneBusOneLoad.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.OneBusOneLoad.sim & ./PowerGrids_dev_PowerGrids.Electrical.Test.OneBusOneLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.OneBusOneLoad.pipe 2>&1)