Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.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.OneBusTransmissionLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad") translateModel(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001795/0.001795, allocations: 182.1 kB / 15.98 MB, free: 5.77 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.552/1.552, allocations: 205.1 MB / 221.8 MB, free: 8.48 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.001079/0.001079, allocations: 103.7 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.05982/0.05982, allocations: 14.17 MB / 330.7 MB, free: 10.83 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001014/0.001014, allocations: 63.83 kB / 391.6 MB, free: 64.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08975/0.09078, allocations: 50.13 MB / 441.8 MB, free: 14.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad): time 0.006086/0.09694, allocations: 7.306 MB / 449.1 MB, free: 7.371 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004265/0.1012, allocations: 3.534 MB / 452.6 MB, free: 3.828 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004011/0.1017, allocations: 15.94 kB / 452.6 MB, free: 3.812 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008473/0.1026, allocations: 358.5 kB / 453 MB, free: 3.461 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002637/0.1052, allocations: 1.458 MB / 454.4 MB, free: 2.008 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007768/0.106, allocations: 0.5489 MB / 455 MB, free: 1.457 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001683/0.1077, allocations: 1.852 MB / 456.8 MB, free: 15.6 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002487/0.1079, allocations: 122.2 kB / 457 MB, free: 15.47 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005494/0.1085, allocations: 489.5 kB / 457.4 MB, free: 14.99 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005619/0.1091, allocations: 0.5132 MB / 457.9 MB, free: 14.48 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.678e-05/0.1092, allocations: 24 kB / 458 MB, free: 14.45 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007508/0.1099, allocations: 363.7 kB / 458.3 MB, free: 14.1 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.712e-05/0.11, allocations: 111.2 kB / 458.4 MB, free: 13.99 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00045/0.1105, allocations: 493.3 kB / 458.9 MB, free: 13.5 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001315/0.1118, allocations: 1.301 MB / 460.2 MB, free: 12.2 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1118, allocations: 0 / 460.2 MB, free: 12.2 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1118, allocations: 0 / 460.2 MB, free: 12.2 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.1118, allocations: 3.938 kB / 460.2 MB, free: 12.2 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.004485/0.1163, allocations: 1.618 MB / 461.8 MB, free: 10.53 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.1164, allocations: 8.031 kB / 461.8 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000546/0.1169, allocations: 155.6 kB / 462 MB, free: 10.37 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.118, allocations: 0.6297 MB / 462.6 MB, free: 9.699 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.414e-05/0.1181, allocations: 50.38 kB / 462.7 MB, free: 9.652 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.1182, allocations: 79.94 kB / 462.8 MB, free: 9.574 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.1193, allocations: 0.7514 MB / 463.5 MB, free: 8.777 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.1193, allocations: 15.86 kB / 463.5 MB, free: 8.762 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.495e-05/0.1194, allocations: 28 kB / 463.6 MB, free: 8.734 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.916e-05/0.1194, allocations: 20 kB / 463.6 MB, free: 8.715 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.1205, allocations: 0.6714 MB / 464.2 MB, free: 8.043 MB / 314.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.004791/0.1253, allocations: 4.805 MB / 469 MB, free: 2.707 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/0.127, allocations: 0.9471 MB / 470 MB, free: 1.719 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004197/0.1274, allocations: 295.2 kB / 470.3 MB, free: 1.43 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.6e-05/0.1275, allocations: 8.656 kB / 470.3 MB, free: 1.422 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.1275, allocations: 51.09 kB / 470.3 MB, free: 1.363 MB / 314.7 MB Notification: Performance of pre-optimization done (n=77): time 2.565e-06/0.1275, allocations: 0 / 470.3 MB, free: 1.363 MB / 314.7 MB Notification: Performance of matching and sorting (n=77): time 0.004463/0.132, allocations: 1.565 MB / 471.9 MB, free: 15.77 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.132, allocations: 60.06 kB / 472 MB, free: 15.7 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005344/0.1326, allocations: 499 kB / 472.5 MB, free: 15.2 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.137e-05/0.1326, allocations: 37.7 kB / 472.5 MB, free: 15.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002532/0.1329, allocations: 359.9 kB / 472.8 MB, free: 14.8 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002311/0.1331, allocations: 272.1 kB / 473.1 MB, free: 14.53 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/0.1333, allocations: 130.5 kB / 473.2 MB, free: 14.39 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1335, allocations: 374.8 kB / 473.6 MB, free: 14.01 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003329/0.1338, allocations: 205.9 kB / 473.8 MB, free: 13.81 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004109/0.1343, allocations: 334.1 kB / 474.1 MB, free: 13.45 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007565/0.135, allocations: 0.5836 MB / 474.7 MB, free: 12.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.135, allocations: 4 kB / 474.7 MB, free: 12.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001689/0.1367, allocations: 0.935 MB / 475.6 MB, free: 11.88 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.1368, allocations: 4 kB / 475.7 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.1368, allocations: 4.312 kB / 475.7 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001133/0.1379, allocations: 309.5 kB / 476 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006485/0.1386, allocations: 163.8 kB / 476.1 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004744/0.1433, allocations: 3.045 MB / 479.2 MB, free: 8.238 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005635/0.1439, allocations: 51.53 kB / 479.2 MB, free: 8.188 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.151e-05/0.144, allocations: 28 kB / 479.2 MB, free: 8.16 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (71): * Single equations (assignments): 70 * 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,23)} Notification: Performance of prepare postOptimizeDAE: time 0.000273/0.1443, allocations: 225.6 kB / 479.5 MB, free: 7.93 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.1444, allocations: 75.16 kB / 479.5 MB, free: 7.855 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001812/0.1462, allocations: 0.8841 MB / 480.4 MB, free: 6.961 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.1462, allocations: 8 kB / 480.4 MB, free: 6.953 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.1462, allocations: 3.938 kB / 480.4 MB, free: 6.949 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.1462, allocations: 15.92 kB / 480.4 MB, free: 6.934 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002781/0.149, allocations: 1.799 MB / 482.2 MB, free: 5.047 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.149, allocations: 4 kB / 482.2 MB, free: 5.043 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005299/0.1496, allocations: 123.9 kB / 482.4 MB, free: 4.922 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001007/0.1506, allocations: 293 kB / 482.7 MB, free: 4.633 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.096e-05/0.1506, allocations: 20 kB / 482.7 MB, free: 4.613 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004187/0.1548, allocations: 2.958 MB / 485.6 MB, free: 1.52 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.1549, allocations: 3.938 kB / 485.6 MB, free: 1.516 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.207/0.3619, allocations: 1.86 MB / 487.5 MB, free: 49.16 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005989/0.3625, allocations: 198.7 kB / 487.7 MB, free: 49.06 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.946e-05/0.3626, allocations: 13.25 kB / 487.7 MB, free: 49.06 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005012/0.3631, allocations: 36.36 kB / 487.7 MB, free: 49.06 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001853/0.3633, allocations: 56.75 kB / 487.8 MB, free: 49.06 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.561e-05/0.3634, allocations: 17.22 kB / 487.8 MB, free: 49.06 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004973/0.3639, allocations: 347.5 kB / 488.2 MB, free: 48.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.3639, allocations: 0 / 488.2 MB, free: 48.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001188/0.3651, allocations: 303 kB / 488.4 MB, free: 48.98 MB / 330.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 (51): * Single equations (assignments): 50 * 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,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003207/0.3654, allocations: 169 kB / 488.6 MB, free: 48.89 MB / 330.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 initialization part: time 0.001664/0.3671, allocations: 0.858 MB / 489.5 MB, free: 48.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3671, allocations: 0 / 489.5 MB, free: 48.75 MB / 330.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 simulation system equations: time 0.0009646/0.3681, allocations: 0.5808 MB / 490.1 MB, free: 48.62 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005935/0.3687, allocations: 80.28 kB / 490.1 MB, free: 48.62 MB / 330.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.002562/0.3712, allocations: 2.004 MB / 492.1 MB, free: 47.39 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005105/0.3718, allocations: 0.9573 MB / 493.1 MB, free: 46.7 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004204/0.3722, allocations: 82.28 kB / 493.2 MB, free: 46.69 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.3723, allocations: 48.66 kB / 493.2 MB, free: 46.68 MB / 330.7 MB Notification: Performance of SimCode: time 5.01e-07/0.3723, allocations: 3.156 kB / 493.2 MB, free: 46.68 MB / 330.7 MB Notification: Performance of Templates: time 0.01922/0.3916, allocations: 10.46 MB / 0.4919 GB, free: 43.9 MB / 330.7 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.sim & ./PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe 2>&1)