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.001223/0.001223, allocations: 105.7 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.001108/0.001108, allocations: 189.8 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.464/1.464, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.0793/0.0793, allocations: 16.78 MB / 307.8 MB, free: 14.49 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 65.22 kB / 372.4 MB, free: 49.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1257, allocations: 53.57 MB / 426 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad): time 0.009998/0.1357, allocations: 13.5 MB / 439.5 MB, free: 15.2 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006822/0.1426, allocations: 3.882 MB / 443.4 MB, free: 11.31 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009132/0.1435, allocations: 23.88 kB / 443.4 MB, free: 11.29 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001491/0.1451, allocations: 0.5126 MB / 443.9 MB, free: 10.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00383/0.1489, allocations: 1.657 MB / 445.6 MB, free: 9.113 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001849/0.1508, allocations: 0.8556 MB / 446.4 MB, free: 8.273 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00259/0.1534, allocations: 2.344 MB / 448.8 MB, free: 5.926 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006122/0.154, allocations: 393.8 kB / 449.2 MB, free: 5.531 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009185/0.1549, allocations: 0.7899 MB / 449.9 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008518/0.1558, allocations: 0.7974 MB / 450.7 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001651/0.156, allocations: 111.9 kB / 450.9 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009171/0.1569, allocations: 411.8 kB / 451.3 MB, free: 3.426 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002151/0.1571, allocations: 254.8 kB / 451.5 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006862/0.1578, allocations: 0.7502 MB / 452.3 MB, free: 2.422 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001886/0.1597, allocations: 1.863 MB / 454.1 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.1597, allocations: 4 kB / 454.1 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.1598, allocations: 0 / 454.1 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.676e-05/0.1598, allocations: 0 / 454.1 MB, free: 0.5508 MB / 318.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.00573/0.1655, allocations: 2.069 MB / 456.2 MB, free: 14.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.1656, allocations: 8.031 kB / 456.2 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001542/0.1671, allocations: 307.2 kB / 456.5 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001539/0.1687, allocations: 0.934 MB / 457.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.3e-05/0.1688, allocations: 66.38 kB / 457.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.1689, allocations: 95.94 kB / 457.6 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.1704, allocations: 1.014 MB / 458.6 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.1704, allocations: 7.938 kB / 458.6 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.749e-05/0.1705, allocations: 40 kB / 458.6 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.798e-05/0.1706, allocations: 27.98 kB / 458.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/0.1718, allocations: 0.757 MB / 459.4 MB, free: 11.01 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.007859/0.1796, allocations: 6.664 MB / 466.1 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/0.1812, allocations: 1.051 MB / 467.1 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003922/0.1816, allocations: 278.3 kB / 467.4 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.04e-05/0.1817, allocations: 21.17 kB / 467.4 MB, free: 2.512 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.181e-05/0.1817, allocations: 46.83 kB / 467.5 MB, free: 2.457 MB / 334.1 MB Notification: Performance of pre-optimization done (n=77): time 3.536e-06/0.1818, allocations: 3.938 kB / 467.5 MB, free: 2.453 MB / 334.1 MB Notification: Performance of matching and sorting (n=77): time 0.00373/0.1855, allocations: 1.451 MB / 468.9 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.1856, allocations: 85.11 kB / 469 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/0.1869, allocations: 1.022 MB / 470 MB, free: 15.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.208e-05/0.187, allocations: 41.89 kB / 470.1 MB, free: 15.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003755/0.1873, allocations: 0.4916 MB / 470.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003024/0.1877, allocations: 323.9 kB / 470.9 MB, free: 14.94 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005671/0.1882, allocations: 436.2 kB / 471.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1884, allocations: 353.9 kB / 471.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009328/0.1893, allocations: 0.6098 MB / 472.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.1904, allocations: 0.8017 MB / 473.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001577/0.192, allocations: 1.153 MB / 474.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.192, allocations: 0 / 474.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=299) (initialization): time 0.003618/0.1956, allocations: 2.082 MB / 476.3 MB, free: 9.367 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.1957, allocations: 6.188 kB / 476.3 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.1957, allocations: 7.984 kB / 476.3 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002066/0.1978, allocations: 385.4 kB / 476.7 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001647/0.1994, allocations: 471.3 kB / 477.2 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007143/0.2066, allocations: 4.283 MB / 481.4 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002841/0.2095, allocations: 146.6 kB / 481.6 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002371/0.2097, allocations: 79.98 kB / 481.7 MB, free: 3.742 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 (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.0008894/0.2106, allocations: 309.5 kB / 482 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004482/0.2111, allocations: 111.8 kB / 482.1 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002773/0.2139, allocations: 0.8825 MB / 483 MB, free: 2.426 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/0.2139, allocations: 3.984 kB / 483 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.2139, allocations: 0 / 483 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007375/0.2147, allocations: 303.4 kB / 483.3 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002086/0.2149, allocations: 20 kB / 483.3 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/0.2161, allocations: 43.97 kB / 483.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.2162, allocations: 63.78 kB / 483.4 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003229/0.2195, allocations: 0.9476 MB / 484.3 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002306/0.2218, allocations: 1.125 MB / 485.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005746/0.2224, allocations: 235.6 kB / 485.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001348/0.2238, allocations: 0.654 MB / 486.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of Backend: time 9.22e-07/0.2238, allocations: 0 / 486.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006287/0.2301, allocations: 1.838 MB / 488.2 MB, free: 13.11 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.006308/0.2364, allocations: 3.101 MB / 491.3 MB, free: 9.977 MB / 366.1 MB Notification: Performance of Templates: time 0.05239/0.2888, allocations: 21.72 MB / 0.501 GB, free: 4.238 MB / 382.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)