Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad") translateModel(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001274/0.001274, allocations: 182 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.51/1.51, allocations: 205.1 MB / 221.8 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001065/0.001065, allocations: 108.3 kB / 269.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06371/0.06371, allocations: 14.18 MB / 330.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001046/0.001047, allocations: 55.92 kB / 391.6 MB, free: 64.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1013, allocations: 50.15 MB / 441.8 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad): time 0.004093/0.1054, allocations: 4.303 MB / 446.1 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00252/0.1079, allocations: 2.462 MB / 448.5 MB, free: 7.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001788/0.1081, allocations: 11.94 kB / 448.6 MB, free: 7.898 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004899/0.1086, allocations: 207.1 kB / 448.8 MB, free: 7.695 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001709/0.1104, allocations: 1.054 MB / 449.8 MB, free: 6.645 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003384/0.1107, allocations: 239.3 kB / 450 MB, free: 6.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008069/0.1115, allocations: 0.9417 MB / 451 MB, free: 5.465 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.1117, allocations: 61.05 kB / 451 MB, free: 5.402 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002415/0.1119, allocations: 250.8 kB / 451.3 MB, free: 5.156 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002514/0.1122, allocations: 262.7 kB / 451.6 MB, free: 4.898 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.291e-05/0.1122, allocations: 12 kB / 451.6 MB, free: 4.887 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004019/0.1126, allocations: 243.8 kB / 451.8 MB, free: 4.648 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.279e-05/0.1127, allocations: 59.52 kB / 451.9 MB, free: 4.59 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.1129, allocations: 238.7 kB / 452.1 MB, free: 4.355 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005654/0.1134, allocations: 0.6897 MB / 452.8 MB, free: 3.664 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1134, allocations: 3.938 kB / 452.8 MB, free: 3.66 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1135, allocations: 0 / 452.8 MB, free: 3.66 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.1135, allocations: 0 / 452.8 MB, free: 3.66 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001924/0.1154, allocations: 0.9394 MB / 453.7 MB, free: 2.672 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.1154, allocations: 8.031 kB / 453.7 MB, free: 2.664 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000281/0.1157, allocations: 68.36 kB / 453.8 MB, free: 2.598 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005207/0.1163, allocations: 412.5 kB / 454.2 MB, free: 2.148 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.1163, allocations: 29.38 kB / 454.2 MB, free: 2.121 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.472e-05/0.1164, allocations: 31.94 kB / 454.3 MB, free: 2.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004321/0.1168, allocations: 354.3 kB / 454.6 MB, free: 1.727 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.1168, allocations: 3.984 kB / 454.6 MB, free: 1.723 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.995e-05/0.1168, allocations: 12 kB / 454.6 MB, free: 1.711 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.1169, allocations: 8 kB / 454.6 MB, free: 1.703 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004283/0.1173, allocations: 310.4 kB / 454.9 MB, free: 1.398 MB / 298.7 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.002004/0.1193, allocations: 2.152 MB / 457.1 MB, free: 14.95 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000999/0.1203, allocations: 0.5365 MB / 457.6 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.1205, allocations: 129.4 kB / 457.7 MB, free: 14.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.824e-05/0.1206, allocations: 4 kB / 457.8 MB, free: 14.24 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.1206, allocations: 42.31 kB / 457.8 MB, free: 14.19 MB / 314.7 MB Notification: Performance of pre-optimization done (n=37): time 1.432e-06/0.1206, allocations: 0 / 457.8 MB, free: 14.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=37): time 0.002293/0.1229, allocations: 0.7441 MB / 458.5 MB, free: 13.42 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.123, allocations: 59.34 kB / 458.6 MB, free: 13.35 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003039/0.1233, allocations: 300.6 kB / 458.9 MB, free: 13.05 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.1233, allocations: 33.7 kB / 458.9 MB, free: 13.01 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.1235, allocations: 196.3 kB / 459.1 MB, free: 12.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.1236, allocations: 130.1 kB / 459.2 MB, free: 12.69 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.542e-05/0.1237, allocations: 62.03 kB / 459.3 MB, free: 12.62 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1239, allocations: 342.8 kB / 459.6 MB, free: 12.28 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.124, allocations: 92.62 kB / 459.7 MB, free: 12.19 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.1242, allocations: 123.6 kB / 459.8 MB, free: 12.06 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003559/0.1246, allocations: 238 kB / 460.1 MB, free: 11.82 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1246, allocations: 0 / 460.1 MB, free: 11.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009793/0.1256, allocations: 453.4 kB / 460.5 MB, free: 11.37 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.1256, allocations: 4 kB / 460.5 MB, free: 11.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.1256, allocations: 4 kB / 460.5 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007362/0.1263, allocations: 160.8 kB / 460.7 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002845/0.1266, allocations: 71.84 kB / 460.8 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002996/0.1297, allocations: 2.064 MB / 462.8 MB, free: 8.941 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/0.1299, allocations: 19.84 kB / 462.8 MB, free: 8.922 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.702e-05/0.1299, allocations: 15.98 kB / 462.9 MB, free: 8.906 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 initialization (29): * Single equations (assignments): 28 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001665/0.1301, allocations: 153.8 kB / 463 MB, free: 8.746 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.874e-05/0.1302, allocations: 47.41 kB / 463.1 MB, free: 8.699 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.1312, allocations: 463.2 kB / 463.5 MB, free: 8.234 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1312, allocations: 8 kB / 463.5 MB, free: 8.227 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.1312, allocations: 0 / 463.5 MB, free: 8.227 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.1313, allocations: 7.938 kB / 463.5 MB, free: 8.219 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001555/0.1328, allocations: 1.052 MB / 464.6 MB, free: 7.082 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1328, allocations: 0 / 464.6 MB, free: 7.082 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/0.1331, allocations: 71.89 kB / 464.6 MB, free: 7.012 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000666/0.1338, allocations: 156.6 kB / 464.8 MB, free: 6.855 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.588e-05/0.1338, allocations: 8 kB / 464.8 MB, free: 6.848 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002631/0.1364, allocations: 2.019 MB / 466.8 MB, free: 4.695 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.1365, allocations: 0 / 466.8 MB, free: 4.695 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/0.138, allocations: 1.247 MB / 468.1 MB, free: 3.387 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001534/0.1381, allocations: 140.7 kB / 468.2 MB, free: 3.23 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.745e-05/0.1382, allocations: 15.94 kB / 468.2 MB, free: 3.215 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.1384, allocations: 19.78 kB / 468.2 MB, free: 3.195 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.076e-05/0.1385, allocations: 23.97 kB / 468.3 MB, free: 3.172 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.1385, allocations: 15.98 kB / 468.3 MB, free: 3.156 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002318/0.1387, allocations: 215.1 kB / 468.5 MB, free: 2.945 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1387, allocations: 0 / 468.5 MB, free: 2.945 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006647/0.1394, allocations: 136 kB / 468.6 MB, free: 2.812 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (26): * Single equations (assignments): 25 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003289/0.1398, allocations: 147.2 kB / 468.8 MB, free: 2.656 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009294/0.1407, allocations: 474.1 kB / 469.2 MB, free: 2.18 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1407, allocations: 0 / 469.2 MB, free: 2.18 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006553/0.1414, allocations: 358.4 kB / 469.6 MB, free: 1.816 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004724/0.1419, allocations: 54.81 kB / 469.6 MB, free: 1.766 MB / 314.7 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.1434, allocations: 1.071 MB / 470.7 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.1439, allocations: 0.8195 MB / 471.5 MB, free: 15.81 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001752/0.144, allocations: 34.95 kB / 471.6 MB, free: 15.78 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.713e-05/0.1441, allocations: 35.36 kB / 471.6 MB, free: 15.74 MB / 330.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1441, allocations: 0 / 471.6 MB, free: 15.74 MB / 330.7 MB Notification: Performance of Templates: time 0.01082/0.155, allocations: 5.679 MB / 477.3 MB, free: 10.07 MB / 330.7 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.sim & ./PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe 2>&1)