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.001796/0.001796, allocations: 104.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.001904/0.001904, 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.518/1.518, 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.0797/0.0797, allocations: 16.69 MB / 307.7 MB, free: 14.53 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00198/0.001981, allocations: 66.33 kB / 372.3 MB, free: 48.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1187, allocations: 53.56 MB / 425.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad): time 0.01083/0.1296, allocations: 13.5 MB / 439.4 MB, free: 15.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00777/0.1374, allocations: 3.882 MB / 443.3 MB, free: 11.34 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001792/0.1393, allocations: 23.88 kB / 443.3 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002243/0.1415, allocations: 0.5088 MB / 443.8 MB, free: 10.8 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005215/0.1468, allocations: 1.66 MB / 445.5 MB, free: 9.145 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002378/0.1492, allocations: 0.8621 MB / 446.3 MB, free: 8.301 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004351/0.1535, allocations: 2.316 MB / 448.6 MB, free: 5.977 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008675/0.1544, allocations: 405.7 kB / 449 MB, free: 5.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001623/0.1561, allocations: 0.7937 MB / 449.8 MB, free: 4.773 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001321/0.1574, allocations: 0.7974 MB / 450.6 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002015/0.1576, allocations: 104 kB / 450.7 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001246/0.1588, allocations: 419.7 kB / 451.1 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002721/0.1591, allocations: 250.8 kB / 451.4 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009546/0.1601, allocations: 0.7463 MB / 452.1 MB, free: 2.465 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002822/0.1629, allocations: 1.871 MB / 454 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.163, allocations: 0 / 454 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.163, allocations: 0 / 454 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.187e-05/0.163, allocations: 0 / 454 MB, free: 0.5898 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.006891/0.1699, allocations: 2.075 MB / 456.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/0.17, allocations: 8.031 kB / 456.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001747/0.1717, allocations: 315.1 kB / 456.4 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001862/0.1736, allocations: 0.9146 MB / 457.3 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.965e-05/0.1737, allocations: 70.38 kB / 457.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.1738, allocations: 91.94 kB / 457.5 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/0.1755, allocations: 1.017 MB / 458.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.1755, allocations: 3.938 kB / 458.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.1756, allocations: 40 kB / 458.5 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.777e-05/0.1757, allocations: 28 kB / 458.6 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.1769, allocations: 0.7609 MB / 459.3 MB, free: 11.06 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.009754/0.1867, allocations: 6.679 MB / 466 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001792/0.1885, allocations: 1.051 MB / 467 MB, free: 2.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004445/0.189, allocations: 282.3 kB / 467.3 MB, free: 2.559 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.175e-05/0.189, allocations: 12.33 kB / 467.3 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.167e-05/0.1891, allocations: 50.77 kB / 467.4 MB, free: 2.488 MB / 334.1 MB Notification: Performance of pre-optimization done (n=77): time 3.516e-06/0.1891, allocations: 0 / 467.4 MB, free: 2.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=77): time 0.004194/0.1933, allocations: 1.448 MB / 468.8 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.713e-05/0.1934, allocations: 89.11 kB / 468.9 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001813/0.1952, allocations: 1.018 MB / 469.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000123/0.1953, allocations: 41.7 kB / 470 MB, free: 15.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000558/0.1959, allocations: 0.4955 MB / 470.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004382/0.1964, allocations: 316 kB / 470.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008515/0.1972, allocations: 432.2 kB / 471.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002176/0.1974, allocations: 361.9 kB / 471.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001203/0.1987, allocations: 0.602 MB / 472.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001421/0.2001, allocations: 0.8019 MB / 473 MB, free: 12.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002027/0.2021, allocations: 1.153 MB / 474.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.889e-06/0.2021, allocations: 3.938 kB / 474.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=299) (initialization): time 0.004623/0.2068, allocations: 2.086 MB / 476.2 MB, free: 9.406 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.55e-05/0.2068, allocations: 8 kB / 476.2 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.2069, allocations: 0 / 476.2 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002203/0.2091, allocations: 381.3 kB / 476.6 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001766/0.2108, allocations: 475.3 kB / 477 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00675/0.2176, allocations: 4.297 MB / 481.3 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002267/0.2199, allocations: 150.6 kB / 481.5 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003176/0.2203, allocations: 72 kB / 481.6 MB, free: 3.773 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.0008306/0.2211, allocations: 310.6 kB / 481.9 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004437/0.2215, allocations: 114.7 kB / 482 MB, free: 3.348 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002163/0.2237, allocations: 0.8824 MB / 482.9 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/0.2237, allocations: 3.984 kB / 482.9 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.2238, allocations: 3.938 kB / 482.9 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007451/0.2245, allocations: 299.5 kB / 483.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002561/0.2248, allocations: 20 kB / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000995/0.2258, allocations: 43.95 kB / 483.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.2259, allocations: 63.84 kB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002298/0.2282, allocations: 0.943 MB / 484.2 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001699/0.2299, allocations: 1.125 MB / 485.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003974/0.2304, allocations: 235.6 kB / 485.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001058/0.2314, allocations: 0.6423 MB / 486.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of Backend: time 3.868e-06/0.2314, allocations: 0 / 486.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004793/0.2362, allocations: 1.847 MB / 488.1 MB, free: 13.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.004881/0.2411, allocations: 3.1 MB / 491.2 MB, free: 10.01 MB / 366.1 MB Notification: Performance of Templates: time 0.03987/0.281, allocations: 21.73 MB / 0.5009 GB, free: 4.262 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)