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.001246/0.001246, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001144/0.001144, allocations: 183 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.252/1.252, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07546/0.07546, allocations: 16.78 MB / 308 MB, free: 14.43 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 63.91 kB / 427.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09307/0.0942, allocations: 53.56 MB / 480.9 MB, free: 4.938 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.01122/0.1055, allocations: 13.49 MB / 494.3 MB, free: 7.391 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0057/0.1112, allocations: 3.882 MB / 498.2 MB, free: 3.496 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007149/0.1119, allocations: 23.88 kB / 498.2 MB, free: 3.473 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.1132, allocations: 0.5161 MB / 498.8 MB, free: 2.957 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003251/0.1164, allocations: 1.659 MB / 0.4887 GB, free: 1.293 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001647/0.1181, allocations: 0.8483 MB / 0.4895 GB, free: 472 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002405/0.1205, allocations: 2.351 MB / 0.4918 GB, free: 14.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005354/0.1211, allocations: 393.8 kB / 0.4922 GB, free: 13.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008216/0.1219, allocations: 0.8132 MB / 0.493 GB, free: 12.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008534/0.1227, allocations: 0.7935 MB / 0.4938 GB, free: 12.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001781/0.1229, allocations: 104 kB / 0.4939 GB, free: 11.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009149/0.1239, allocations: 415.8 kB / 0.4943 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001956/0.1241, allocations: 254.8 kB / 0.4945 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006362/0.1247, allocations: 0.7463 MB / 0.4952 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00183/0.1265, allocations: 1.9 MB / 0.4971 GB, free: 8.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1266, allocations: 3.938 kB / 0.4971 GB, free: 8.676 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1266, allocations: 0 / 0.4971 GB, free: 8.676 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.1266, allocations: 0 / 0.4971 GB, free: 8.676 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.005175/0.1318, allocations: 2.065 MB / 0.4991 GB, free: 6.559 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.1318, allocations: 12.03 kB / 0.4991 GB, free: 6.547 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001458/0.1333, allocations: 311.1 kB / 0.4994 GB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001451/0.1347, allocations: 0.9536 MB / 0.5003 GB, free: 5.246 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.499e-05/0.1348, allocations: 70.31 kB / 0.5004 GB, free: 5.176 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.1349, allocations: 91.94 kB / 0.5005 GB, free: 5.086 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/0.1362, allocations: 1.017 MB / 0.5015 GB, free: 3.953 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.1363, allocations: 7.938 kB / 0.5015 GB, free: 3.945 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.773e-05/0.1364, allocations: 44 kB / 0.5015 GB, free: 3.902 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/0.1364, allocations: 20 kB / 0.5016 GB, free: 3.883 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.1374, allocations: 0.7531 MB / 0.5023 GB, free: 3.125 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.2182/0.3557, allocations: 6.645 MB / 0.5088 GB, free: 30.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001816/0.3575, allocations: 1.051 MB / 0.5098 GB, free: 29.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004049/0.358, allocations: 280.9 kB / 0.5101 GB, free: 29.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.929e-05/0.358, allocations: 12.84 kB / 0.5101 GB, free: 29.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.3581, allocations: 46.8 kB / 0.5101 GB, free: 29.67 MB / 382.1 MB Notification: Performance of pre-optimization done (n=77): time 2.876e-06/0.3581, allocations: 2.344 kB / 0.5101 GB, free: 29.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=77): time 0.0041/0.3622, allocations: 1.442 MB / 0.5115 GB, free: 29.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.3623, allocations: 98.58 kB / 0.5116 GB, free: 29.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001802/0.3641, allocations: 1.023 MB / 0.5126 GB, free: 28.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.418e-05/0.3642, allocations: 43.23 kB / 0.5127 GB, free: 28.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003395/0.3645, allocations: 0.4927 MB / 0.5132 GB, free: 28.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002957/0.3648, allocations: 320.5 kB / 0.5135 GB, free: 28.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004961/0.3653, allocations: 428.6 kB / 0.5139 GB, free: 28.17 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.065e-05/0.3654, allocations: 354.8 kB / 0.5142 GB, free: 27.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009048/0.3663, allocations: 0.611 MB / 0.5148 GB, free: 27.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/0.3674, allocations: 0.7996 MB / 0.5156 GB, free: 27.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/0.3689, allocations: 1.15 MB / 0.5167 GB, free: 26.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.3689, allocations: 1.031 kB / 0.5167 GB, free: 26.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=299) (initialization): time 0.003676/0.3726, allocations: 2.09 MB / 0.5188 GB, free: 25.67 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.3726, allocations: 9.953 kB / 0.5188 GB, free: 25.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.3726, allocations: 1.469 kB / 0.5188 GB, free: 25.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002052/0.3747, allocations: 382 kB / 0.5191 GB, free: 25.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001679/0.3764, allocations: 466.7 kB / 0.5196 GB, free: 25.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004639/0.381, allocations: 4.273 MB / 0.5238 GB, free: 22.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002195/0.3832, allocations: 154.3 kB / 0.5239 GB, free: 22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001816/0.3834, allocations: 72.11 kB / 0.524 GB, free: 21.99 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.0007386/0.3842, allocations: 323.8 kB / 0.5243 GB, free: 21.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003012/0.3845, allocations: 116.9 kB / 0.5244 GB, free: 21.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002027/0.3865, allocations: 0.8795 MB / 0.5252 GB, free: 21.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.3865, allocations: 5.203 kB / 0.5253 GB, free: 21.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3866, allocations: 0 / 0.5253 GB, free: 21.26 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005149/0.3871, allocations: 307.8 kB / 0.5255 GB, free: 21.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.3872, allocations: 10.78 kB / 0.5256 GB, free: 21.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007975/0.388, allocations: 46.39 kB / 0.5256 GB, free: 21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.3881, allocations: 65.34 kB / 0.5257 GB, free: 20.99 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001814/0.39, allocations: 0.9464 MB / 0.5266 GB, free: 20.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001234/0.3912, allocations: 1.12 MB / 0.5277 GB, free: 19.87 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003116/0.3915, allocations: 235.7 kB / 0.5279 GB, free: 19.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008405/0.3924, allocations: 0.6502 MB / 0.5285 GB, free: 19.48 MB / 382.1 MB Notification: Performance of Backend: time 7.61e-07/0.3924, allocations: 1.188 kB / 0.5285 GB, free: 19.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003517/0.3959, allocations: 1.826 MB / 0.5303 GB, free: 18.64 MB / 382.1 MB Notification: Performance of SimCode: time 0.002903/0.3988, allocations: 3.069 MB / 0.5333 GB, free: 16.68 MB / 382.1 MB Notification: Performance of Templates: time 0.02051/0.4193, allocations: 21.9 MB / 0.5547 GB, free: 14.21 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)