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.001519/0.001519, allocations: 104.1 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.001535/0.001535, allocations: 189.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.499/1.499, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07865/0.07865, allocations: 16.69 MB / 307.7 MB, free: 14.57 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 69.31 kB / 372.3 MB, free: 48.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1163, allocations: 53.55 MB / 425.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad): time 0.01098/0.1273, allocations: 13.65 MB / 439.5 MB, free: 15.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007812/0.1352, allocations: 3.909 MB / 443.4 MB, free: 11.17 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00164/0.1369, allocations: 23.88 kB / 443.5 MB, free: 11.15 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002207/0.1391, allocations: 0.5125 MB / 444 MB, free: 10.63 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005284/0.1445, allocations: 1.675 MB / 445.6 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002864/0.1473, allocations: 0.8509 MB / 446.5 MB, free: 8.129 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004853/0.1522, allocations: 2.375 MB / 448.9 MB, free: 5.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008962/0.1531, allocations: 419.3 kB / 449.3 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001446/0.1546, allocations: 0.7977 MB / 450.1 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00107/0.1557, allocations: 0.8051 MB / 450.9 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001909/0.1559, allocations: 104 kB / 451 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.157, allocations: 399.8 kB / 451.4 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002552/0.1573, allocations: 258.8 kB / 451.6 MB, free: 2.977 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000894/0.1582, allocations: 0.754 MB / 452.4 MB, free: 2.219 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002696/0.1609, allocations: 1.875 MB / 454.3 MB, free: 348 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1609, allocations: 0 / 454.3 MB, free: 348 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1609, allocations: 0 / 454.3 MB, free: 348 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.926e-05/0.161, allocations: 0 / 454.3 MB, free: 348 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.006586/0.1675, allocations: 2.106 MB / 456.4 MB, free: 14.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/0.1676, allocations: 8.031 kB / 456.4 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001679/0.1693, allocations: 303.1 kB / 456.7 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00174/0.1711, allocations: 0.9341 MB / 457.6 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.761e-05/0.1711, allocations: 70.12 kB / 457.7 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.1713, allocations: 92 kB / 457.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/0.1731, allocations: 1.096 MB / 458.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.1731, allocations: 7.938 kB / 458.9 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/0.1733, allocations: 44 kB / 458.9 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.627e-05/0.1733, allocations: 24 kB / 458.9 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/0.1747, allocations: 0.7906 MB / 459.7 MB, free: 10.63 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.009266/0.184, allocations: 7.093 MB / 466.8 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001951/0.1859, allocations: 0.9669 MB / 467.8 MB, free: 2.156 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005085/0.1865, allocations: 294.4 kB / 468.1 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.03e-05/0.1865, allocations: 16.3 kB / 468.1 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.603e-05/0.1866, allocations: 47.22 kB / 468.1 MB, free: 1.793 MB / 334.1 MB Notification: Performance of pre-optimization done (n=81): time 2.926e-06/0.1866, allocations: 0 / 468.1 MB, free: 1.793 MB / 334.1 MB Notification: Performance of matching and sorting (n=81): time 0.004708/0.1913, allocations: 1.563 MB / 469.7 MB, free: 184 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/0.1914, allocations: 89.05 kB / 469.8 MB, free: 76 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001982/0.1934, allocations: 1.055 MB / 470.8 MB, free: 15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001246/0.1935, allocations: 45.7 kB / 470.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005359/0.1941, allocations: 0.5304 MB / 471.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004077/0.1945, allocations: 327.8 kB / 471.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007268/0.1952, allocations: 457.8 kB / 472.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000216/0.1955, allocations: 354.1 kB / 472.5 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001173/0.1966, allocations: 0.6453 MB / 473.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/0.198, allocations: 0.8545 MB / 474 MB, free: 11.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001972/0.2, allocations: 1.222 MB / 475.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/0.2, allocations: 7.984 kB / 475.2 MB, free: 10.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004364/0.2044, allocations: 2.214 MB / 477.5 MB, free: 8.207 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.2044, allocations: 8.094 kB / 477.5 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.2044, allocations: 8 kB / 477.5 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002312/0.2068, allocations: 413.3 kB / 477.9 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00193/0.2087, allocations: 0.4954 MB / 478.4 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006499/0.2152, allocations: 4.407 MB / 482.8 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002149/0.2174, allocations: 166.5 kB / 482.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001499/0.2176, allocations: 79.98 kB / 483 MB, free: 2.359 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.0006384/0.2182, allocations: 321.3 kB / 483.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002574/0.2185, allocations: 118.6 kB / 483.5 MB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002129/0.2206, allocations: 0.9542 MB / 484.4 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.2206, allocations: 3.984 kB / 484.4 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.2206, allocations: 0 / 484.4 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005646/0.2212, allocations: 315.4 kB / 484.7 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.2214, allocations: 16 kB / 484.7 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008277/0.2222, allocations: 55.89 kB / 484.8 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/0.2224, allocations: 67.94 kB / 484.9 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002463/0.2248, allocations: 1.056 MB / 485.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001797/0.2267, allocations: 1.22 MB / 487.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004361/0.2271, allocations: 255.8 kB / 487.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001047/0.2282, allocations: 0.6748 MB / 488.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of Backend: time 6.11e-07/0.2282, allocations: 0 / 488.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004675/0.2328, allocations: 1.918 MB / 490 MB, free: 11.3 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.0044/0.2373, allocations: 3.198 MB / 493.2 MB, free: 8.055 MB / 366.1 MB Notification: Performance of Templates: time 0.0356/0.2729, allocations: 22.34 MB / 0.5034 GB, free: 1.707 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)