Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.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.OneBusImpedanceVariableVoltageOneLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=600,variableFilter="UMod.height|UMod.offset|UMod.startTime|UPhase.height|UPhase.offset|UPhase.startTime|bus1.PStart|bus1.QStart|bus1.R|bus1.SNom|bus1.UFixed|bus1.UNom|bus1.UPhaseStart|bus1.UStart|bus1.X|bus1.Z.im|bus1.Z.re|bus1.i.im|bus1.i.re|bus1.localInit|bus1.port.IBase|bus1.port.IStart|bus1.port.PStart|bus1.port.QStart|bus1.port.SBase|bus1.port.SNom|bus1.port.UBase|bus1.port.UNom|bus1.port.UPhaseStart|bus1.port.UStart|bus1.port.VBase|bus1.port.VStart|bus1.port.i.im|bus1.port.i.re|bus1.port.iStart.im|bus1.port.iStart.re|bus1.port.portVariablesPhases|bus1.port.v.im|bus1.port.v.re|bus1.port.vStart.im|bus1.port.vStart.re|bus1.portVariablesPhases|bus1.thetaFixed|bus1.useThetaIn|bus1.useUIn|bus1.v.im|bus1.v.re|load1.PRef|load1.PRefConst|load1.PStart|load1.QRef|load1.QRefConst|load1.QStart|load1.SNom|load1.UNom|load1.UPhaseStart|load1.URef|load1.UStart|load1.alpha|load1.beta|load1.localInit|load1.port.IBase|load1.port.IStart|load1.port.PStart|load1.port.QStart|load1.port.SBase|load1.port.SNom|load1.port.UBase|load1.port.UNom|load1.port.UPhaseStart|load1.port.UStart|load1.port.VBase|load1.port.VStart|load1.port.i.im|load1.port.i.re|load1.port.iStart.im|load1.port.iStart.re|load1.port.portVariablesPhases|load1.port.v.im|load1.port.v.re|load1.port.vStart.im|load1.port.vStart.re|load1.portVariablesPhases|systemPowerGrids.fNom|systemPowerGrids.initOpt|systemPowerGrids.omegaNom|systemPowerGrids.omegaRef|systemPowerGrids.referenceFrequency|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad") translateModel(PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=600,variableFilter="UMod.height|UMod.offset|UMod.startTime|UPhase.height|UPhase.offset|UPhase.startTime|bus1.PStart|bus1.QStart|bus1.R|bus1.SNom|bus1.UFixed|bus1.UNom|bus1.UPhaseStart|bus1.UStart|bus1.X|bus1.Z.im|bus1.Z.re|bus1.i.im|bus1.i.re|bus1.localInit|bus1.port.IBase|bus1.port.IStart|bus1.port.PStart|bus1.port.QStart|bus1.port.SBase|bus1.port.SNom|bus1.port.UBase|bus1.port.UNom|bus1.port.UPhaseStart|bus1.port.UStart|bus1.port.VBase|bus1.port.VStart|bus1.port.i.im|bus1.port.i.re|bus1.port.iStart.im|bus1.port.iStart.re|bus1.port.portVariablesPhases|bus1.port.v.im|bus1.port.v.re|bus1.port.vStart.im|bus1.port.vStart.re|bus1.portVariablesPhases|bus1.thetaFixed|bus1.useThetaIn|bus1.useUIn|bus1.v.im|bus1.v.re|load1.PRef|load1.PRefConst|load1.PStart|load1.QRef|load1.QRefConst|load1.QStart|load1.SNom|load1.UNom|load1.UPhaseStart|load1.URef|load1.UStart|load1.alpha|load1.beta|load1.localInit|load1.port.IBase|load1.port.IStart|load1.port.PStart|load1.port.QStart|load1.port.SBase|load1.port.SNom|load1.port.UBase|load1.port.UNom|load1.port.UPhaseStart|load1.port.UStart|load1.port.VBase|load1.port.VStart|load1.port.i.im|load1.port.i.re|load1.port.iStart.im|load1.port.iStart.re|load1.port.portVariablesPhases|load1.port.v.im|load1.port.v.re|load1.port.vStart.im|load1.port.vStart.re|load1.portVariablesPhases|systemPowerGrids.fNom|systemPowerGrids.initOpt|systemPowerGrids.omegaNom|systemPowerGrids.omegaRef|systemPowerGrids.referenceFrequency|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001861/0.001861, allocations: 105.9 kB / 16.27 MB, free: 6.414 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.002116/0.002116, allocations: 191.6 kB / 17.2 MB, free: 5.953 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.467/1.467, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07713/0.07713, allocations: 16.77 MB / 307.8 MB, free: 14.5 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002313/0.002313, allocations: 68.48 kB / 372.4 MB, free: 48.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1241, allocations: 53.57 MB / 426 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad): time 0.01021/0.1344, allocations: 13.64 MB / 439.6 MB, free: 14.94 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006284/0.1407, allocations: 3.909 MB / 443.5 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007754/0.1415, allocations: 27.88 kB / 443.6 MB, free: 10.99 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001455/0.1431, allocations: 0.5086 MB / 444.1 MB, free: 10.48 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00375/0.1468, allocations: 1.675 MB / 445.8 MB, free: 8.805 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001943/0.1488, allocations: 0.8536 MB / 446.6 MB, free: 7.969 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002923/0.1517, allocations: 2.374 MB / 449 MB, free: 5.586 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006644/0.1524, allocations: 411.3 kB / 449.4 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001108/0.1535, allocations: 0.7938 MB / 450.2 MB, free: 4.379 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009348/0.1544, allocations: 0.8051 MB / 451 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001705/0.1546, allocations: 108 kB / 451.1 MB, free: 3.465 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001021/0.1557, allocations: 399.8 kB / 451.5 MB, free: 3.074 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002152/0.1559, allocations: 258.7 kB / 451.7 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007171/0.1566, allocations: 0.754 MB / 452.5 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002035/0.1586, allocations: 1.871 MB / 454.4 MB, free: 192 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1587, allocations: 0 / 454.4 MB, free: 192 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.1587, allocations: 0 / 454.4 MB, free: 192 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.786e-05/0.1587, allocations: 3.938 kB / 454.4 MB, free: 188 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.005924/0.1646, allocations: 2.1 MB / 456.5 MB, free: 14.03 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.1647, allocations: 8.031 kB / 456.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001594/0.1663, allocations: 319 kB / 456.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001461/0.1678, allocations: 0.9223 MB / 457.7 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.268e-05/0.1678, allocations: 74.12 kB / 457.8 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.168, allocations: 88 kB / 457.9 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/0.1695, allocations: 1.096 MB / 459 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.68e-05/0.1696, allocations: 11.94 kB / 459 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.56e-05/0.1696, allocations: 40 kB / 459 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.362e-05/0.1697, allocations: 24 kB / 459 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/0.1709, allocations: 0.7945 MB / 459.8 MB, free: 10.47 MB / 334.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.007724/0.1786, allocations: 7.097 MB / 466.9 MB, free: 3.016 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001781/0.1804, allocations: 0.9746 MB / 467.9 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004525/0.1809, allocations: 298.2 kB / 468.2 MB, free: 1.691 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.806e-05/0.181, allocations: 8.328 kB / 468.2 MB, free: 1.684 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.181, allocations: 47.2 kB / 468.2 MB, free: 1.629 MB / 334.1 MB Notification: Performance of pre-optimization done (n=81): time 3.357e-06/0.181, allocations: 0 / 468.2 MB, free: 1.629 MB / 334.1 MB Notification: Performance of matching and sorting (n=81): time 0.004289/0.1853, allocations: 1.564 MB / 469.8 MB, free: 16 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.85e-05/0.1854, allocations: 89.05 kB / 469.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/0.1869, allocations: 1.059 MB / 471 MB, free: 14.83 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.567e-05/0.187, allocations: 45.7 kB / 471 MB, free: 14.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004784/0.1875, allocations: 0.5188 MB / 471.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003735/0.1879, allocations: 335.8 kB / 471.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008009/0.1887, allocations: 453.8 kB / 472.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.1888, allocations: 353.9 kB / 472.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001251/0.1901, allocations: 0.6492 MB / 473.3 MB, free: 12.47 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00133/0.1914, allocations: 0.8507 MB / 474.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0022/0.1936, allocations: 1.226 MB / 475.4 MB, free: 10.31 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.394e-05/0.1937, allocations: 0 / 475.4 MB, free: 10.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004401/0.1981, allocations: 2.206 MB / 477.6 MB, free: 8.059 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.931e-05/0.1982, allocations: 16.09 kB / 477.6 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/0.1982, allocations: 0 / 477.6 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002466/0.2007, allocations: 417.3 kB / 478 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001852/0.2025, allocations: 0.4954 MB / 478.5 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00641/0.2089, allocations: 4.406 MB / 482.9 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002222/0.2112, allocations: 166.5 kB / 483.1 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002484/0.2114, allocations: 79.98 kB / 483.1 MB, free: 2.207 MB / 350.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 (load1.componentPF.isSlackBus,bus1.componentPF.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (301): * Single equations (assignments): 299 * 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 {(12,0), (8,0)} Notification: Performance of prepare postOptimizeDAE: time 0.0007978/0.2123, allocations: 329.3 kB / 483.5 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004244/0.2127, allocations: 118.6 kB / 483.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002271/0.215, allocations: 0.958 MB / 484.5 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.248e-05/0.215, allocations: 7.984 kB / 484.5 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.215, allocations: 0 / 484.5 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007394/0.2158, allocations: 299.5 kB / 484.8 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002684/0.216, allocations: 19.98 kB / 484.8 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/0.2171, allocations: 59.89 kB / 484.9 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001766/0.2173, allocations: 60.02 kB / 485 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00256/0.2199, allocations: 1.052 MB / 486 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001905/0.2218, allocations: 1.22 MB / 487.2 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004563/0.2223, allocations: 263.8 kB / 487.5 MB, free: 13.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001119/0.2234, allocations: 0.667 MB / 488.2 MB, free: 13.1 MB / 366.1 MB Notification: Performance of Backend: time 1.092e-06/0.2234, allocations: 0 / 488.2 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004681/0.2281, allocations: 1.92 MB / 490.1 MB, free: 11.14 MB / 366.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of SimCode: time 0.004585/0.2327, allocations: 3.208 MB / 493.3 MB, free: 7.898 MB / 366.1 MB Notification: Performance of Templates: time 0.03441/0.2671, allocations: 22.34 MB / 0.5035 GB, free: 1.551 MB / 382.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.sim & ./PowerGrids_dev_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe 2>&1)