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.001687/0.001686, allocations: 102.3 kB / 16.27 MB, free: 5.996 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.001798/0.001798, allocations: 191.5 kB / 17.2 MB, free: 5.605 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.449/1.449, allocations: 222.9 MB / 240.9 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.07784/0.07784, allocations: 16.77 MB / 307.8 MB, free: 14.48 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 66.89 kB / 372.4 MB, free: 48.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1222, allocations: 53.58 MB / 426 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusOneLoad): time 0.01036/0.1326, allocations: 13.49 MB / 439.5 MB, free: 15.1 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007409/0.1401, allocations: 3.879 MB / 443.4 MB, free: 11.21 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00129/0.1414, allocations: 27.81 kB / 443.4 MB, free: 11.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001682/0.1432, allocations: 0.5087 MB / 443.9 MB, free: 10.67 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004179/0.1474, allocations: 1.661 MB / 445.6 MB, free: 9.008 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001955/0.1493, allocations: 0.8574 MB / 446.4 MB, free: 8.168 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003098/0.1525, allocations: 2.331 MB / 448.8 MB, free: 5.832 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006468/0.1531, allocations: 393.8 kB / 449.1 MB, free: 5.438 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001207/0.1543, allocations: 0.7899 MB / 449.9 MB, free: 4.645 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009596/0.1553, allocations: 0.8051 MB / 450.7 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000157/0.1555, allocations: 108 kB / 450.8 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001077/0.1566, allocations: 415.8 kB / 451.2 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002188/0.1568, allocations: 246.9 kB / 451.5 MB, free: 3.082 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007553/0.1575, allocations: 0.7502 MB / 452.2 MB, free: 2.328 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002137/0.1597, allocations: 1.863 MB / 454.1 MB, free: 472 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.1597, allocations: 4 kB / 454.1 MB, free: 468 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1597, allocations: 0 / 454.1 MB, free: 468 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.561e-05/0.1597, allocations: 0 / 454.1 MB, free: 468 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.0059/0.1657, allocations: 2.08 MB / 456.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.1657, allocations: 8.031 kB / 456.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00155/0.1673, allocations: 307.2 kB / 456.5 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/0.1688, allocations: 0.9301 MB / 457.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.048e-05/0.1689, allocations: 70.38 kB / 457.5 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.169, allocations: 91.92 kB / 457.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.1705, allocations: 1.014 MB / 458.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.1705, allocations: 7.938 kB / 458.6 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.522e-05/0.1706, allocations: 40 kB / 458.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.285e-05/0.1706, allocations: 24 kB / 458.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/0.1719, allocations: 0.757 MB / 459.4 MB, free: 10.92 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.008347/0.1802, allocations: 6.667 MB / 466.1 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/0.1819, allocations: 1.06 MB / 467.1 MB, free: 2.703 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004012/0.1823, allocations: 278.3 kB / 467.4 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.591e-05/0.1824, allocations: 16.3 kB / 467.4 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/0.1825, allocations: 50.83 kB / 467.5 MB, free: 2.352 MB / 334.1 MB Notification: Performance of pre-optimization done (n=77): time 5.641e-06/0.1825, allocations: 4 kB / 467.5 MB, free: 2.348 MB / 334.1 MB Notification: Performance of matching and sorting (n=77): time 0.004015/0.1865, allocations: 1.443 MB / 468.9 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.1866, allocations: 89.11 kB / 469 MB, free: 0.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001505/0.1881, allocations: 1.018 MB / 470 MB, free: 15.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.401e-05/0.1882, allocations: 45.7 kB / 470.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004216/0.1886, allocations: 0.4917 MB / 470.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003679/0.189, allocations: 324 kB / 470.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006037/0.1896, allocations: 432.2 kB / 471.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.1898, allocations: 349.9 kB / 471.7 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/0.1908, allocations: 0.6137 MB / 472.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/0.1919, allocations: 0.8018 MB / 473.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001717/0.1937, allocations: 1.157 MB / 474.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.1937, allocations: 0 / 474.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=299) (initialization): time 0.003924/0.1976, allocations: 2.074 MB / 476.3 MB, free: 9.273 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.1976, allocations: 4 kB / 476.3 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.1977, allocations: 4 kB / 476.3 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002146/0.1998, allocations: 393.5 kB / 476.7 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001715/0.2015, allocations: 471.3 kB / 477.2 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005883/0.2074, allocations: 4.281 MB / 481.4 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002025/0.2095, allocations: 147.7 kB / 481.6 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/0.2096, allocations: 80.06 kB / 481.7 MB, free: 3.641 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.0006338/0.2103, allocations: 309.4 kB / 482 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002434/0.2105, allocations: 114.7 kB / 482.1 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001854/0.2124, allocations: 0.8902 MB / 483 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.2124, allocations: 3.984 kB / 483 MB, free: 2.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2124, allocations: 0 / 483 MB, free: 2.309 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004955/0.2129, allocations: 295.5 kB / 483.3 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/0.2131, allocations: 19.98 kB / 483.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008112/0.2139, allocations: 39.97 kB / 483.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.214, allocations: 71.78 kB / 483.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002053/0.2161, allocations: 0.943 MB / 484.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001496/0.2176, allocations: 1.121 MB / 485.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003683/0.218, allocations: 243.6 kB / 485.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009628/0.2189, allocations: 0.6462 MB / 486.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of Backend: time 1.022e-06/0.219, allocations: 0 / 486.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004225/0.2232, allocations: 1.831 MB / 488.2 MB, free: 13.02 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.004093/0.2273, allocations: 3.11 MB / 491.3 MB, free: 9.875 MB / 366.1 MB Notification: Performance of Templates: time 0.03172/0.259, allocations: 21.71 MB / 0.501 GB, free: 4.145 MB / 382.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)