Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.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.PowerFlow.Test.OneSlackOneZLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad") translateModel(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 108.6 kB / 16.41 MB, free: 6.027 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.001627/0.001627, allocations: 188.7 kB / 17.34 MB, free: 5.633 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.908/1.908, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1068/0.1068, allocations: 16.77 MB / 308 MB, free: 14.44 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 63.91 kB / 427.3 MB, free: 10.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1136, allocations: 53.55 MB / 480.8 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad): time 0.005459/0.1191, allocations: 4.593 MB / 485.4 MB, free: 384 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003676/0.1228, allocations: 2.508 MB / 487.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003519/0.1232, allocations: 11.88 kB / 487.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006128/0.1238, allocations: 258.4 kB / 488.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002368/0.1262, allocations: 1.152 MB / 489.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009309/0.1272, allocations: 488 kB / 489.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001193/0.1284, allocations: 1.046 MB / 490.8 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.1286, allocations: 73.69 kB / 490.9 MB, free: 10.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004407/0.129, allocations: 378.4 kB / 491.3 MB, free: 10.47 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004335/0.1295, allocations: 382.3 kB / 491.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.484e-05/0.1296, allocations: 40 kB / 491.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000659/0.1302, allocations: 303.7 kB / 492 MB, free: 9.758 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.945e-05/0.1303, allocations: 111.4 kB / 492.1 MB, free: 9.648 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003006/0.1306, allocations: 354.1 kB / 492.4 MB, free: 9.301 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.1317, allocations: 0.9034 MB / 493.4 MB, free: 8.395 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1318, allocations: 3.938 kB / 493.4 MB, free: 8.391 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1318, allocations: 0 / 493.4 MB, free: 8.391 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.1318, allocations: 4 kB / 493.4 MB, free: 8.387 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.003481/0.1353, allocations: 1.247 MB / 494.6 MB, free: 7.086 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.874e-05/0.1353, allocations: 23.95 kB / 494.6 MB, free: 7.062 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003653/0.1357, allocations: 88.08 kB / 494.7 MB, free: 6.977 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008745/0.1366, allocations: 0.518 MB / 495.2 MB, free: 6.418 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/0.1366, allocations: 33.38 kB / 495.3 MB, free: 6.387 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.524e-05/0.1367, allocations: 44.38 kB / 495.3 MB, free: 6.344 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006977/0.1374, allocations: 0.513 MB / 495.8 MB, free: 5.754 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.1374, allocations: 7.938 kB / 495.8 MB, free: 5.746 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.291e-05/0.1375, allocations: 24 kB / 495.9 MB, free: 5.723 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.1375, allocations: 12 kB / 495.9 MB, free: 5.711 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005304/0.138, allocations: 370.1 kB / 496.2 MB, free: 5.348 MB / 366.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.003345/0.1414, allocations: 3.42 MB / 499.6 MB, free: 1.723 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006292/0.142, allocations: 304.8 kB / 499.9 MB, free: 1.418 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.1422, allocations: 109.4 kB / 0.4883 GB, free: 1.309 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.631e-05/0.1423, allocations: 4.281 kB / 0.4883 GB, free: 1.305 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.1423, allocations: 38.84 kB / 0.4884 GB, free: 1.258 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 1.844e-06/0.1423, allocations: 4 kB / 0.4884 GB, free: 1.254 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.0009333/0.1432, allocations: 0.497 MB / 0.4889 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.1433, allocations: 59.34 kB / 0.4889 GB, free: 0.6602 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006206/0.1439, allocations: 0.5922 MB / 0.4895 GB, free: 56 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.565e-05/0.144, allocations: 37.7 kB / 0.4895 GB, free: 12 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002235/0.1442, allocations: 312.1 kB / 0.4898 GB, free: 15.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/0.1443, allocations: 134.3 kB / 0.49 GB, free: 15.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000328/0.1447, allocations: 254.6 kB / 0.4902 GB, free: 15.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.1449, allocations: 378.8 kB / 0.4906 GB, free: 14.94 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005159/0.1454, allocations: 322.5 kB / 0.4909 GB, free: 14.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005781/0.146, allocations: 430.5 kB / 0.4913 GB, free: 14.19 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000823/0.1468, allocations: 0.6155 MB / 0.4919 GB, free: 13.56 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.1468, allocations: 0 / 0.4919 GB, free: 13.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.001521/0.1484, allocations: 1.017 MB / 0.4929 GB, free: 12.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.1484, allocations: 8.062 kB / 0.4929 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.1484, allocations: 8 kB / 0.4929 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00024/0.1486, allocations: 40.72 kB / 0.4929 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009766/0.1496, allocations: 259.6 kB / 0.4932 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00132/0.151, allocations: 1.437 MB / 0.4946 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000845/0.1518, allocations: 83.3 kB / 0.4947 GB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.243e-05/0.1519, allocations: 36 kB / 0.4947 GB, free: 10.53 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (load.isSlackBus,slack.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003203/0.1522, allocations: 209.6 kB / 0.4949 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.1524, allocations: 59.25 kB / 0.495 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006517/0.153, allocations: 348.9 kB / 0.4953 GB, free: 9.898 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.153, allocations: 0 / 0.4953 GB, free: 9.898 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.153, allocations: 4 kB / 0.4953 GB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.1531, allocations: 7.875 kB / 0.4953 GB, free: 9.887 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.1543, allocations: 0.9815 MB / 0.4963 GB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/0.1543, allocations: 4 kB / 0.4963 GB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002386/0.1545, allocations: 55.91 kB / 0.4963 GB, free: 8.777 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001167/0.1547, allocations: 24.84 kB / 0.4963 GB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.1547, allocations: 8 kB / 0.4963 GB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00107/0.1558, allocations: 1.43 MB / 0.4977 GB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.1558, allocations: 12.12 kB / 0.4978 GB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005614/0.1564, allocations: 435 kB / 0.4982 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002195/0.1566, allocations: 184.2 kB / 0.4983 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.118e-05/0.1567, allocations: 15.94 kB / 0.4984 GB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004387/0.1571, allocations: 23.98 kB / 0.4984 GB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/0.1572, allocations: 19.97 kB / 0.4984 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/0.1572, allocations: 11.98 kB / 0.4984 GB, free: 6.434 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004814/0.1577, allocations: 390.8 kB / 0.4988 GB, free: 6.055 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1577, allocations: 3.938 kB / 0.4988 GB, free: 6.051 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007096/0.1584, allocations: 247.8 kB / 0.499 GB, free: 5.809 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002786/0.1587, allocations: 147.4 kB / 0.4992 GB, free: 5.656 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001221/0.1599, allocations: 0.7871 MB / 0.4999 GB, free: 4.859 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.1599, allocations: 256 / 0.4999 GB, free: 4.859 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003401/0.1603, allocations: 250.5 kB / 0.5002 GB, free: 4.602 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005708/0.1609, allocations: 56.62 kB / 0.5002 GB, free: 4.547 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.1623, allocations: 0.8771 MB / 0.5011 GB, free: 3.625 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004155/0.1628, allocations: 0.8445 MB / 0.5019 GB, free: 2.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/0.1629, allocations: 55.38 kB / 0.502 GB, free: 2.695 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1629, allocations: 4 kB / 0.502 GB, free: 2.691 MB / 382.1 MB Notification: Performance of Templates: time 0.2592/0.4222, allocations: 10.34 MB / 0.5121 GB, free: 32.32 MB / 382.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.sim & ./PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.pipe 2>&1)