Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.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.OneBusImpedanceOneVariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=600,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad") translateModel(PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=600,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001815/0.001814, allocations: 183.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.695/1.695, allocations: 205.1 MB / 221.8 MB, free: 8.477 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.00114/0.00114, allocations: 99.55 kB / 269.2 MB, free: 8.426 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06375/0.06375, allocations: 14.18 MB / 330.7 MB, free: 10.81 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001029/0.001029, allocations: 47.91 kB / 391.6 MB, free: 64.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09675/0.0978, allocations: 50.15 MB / 441.8 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad): time 0.006719/0.1046, allocations: 7.13 MB / 448.9 MB, free: 7.535 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004886/0.1095, allocations: 3.437 MB / 452.3 MB, free: 4.086 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001305/0.1108, allocations: 15.94 kB / 452.4 MB, free: 4.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001351/0.1122, allocations: 334.5 kB / 452.7 MB, free: 3.742 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003575/0.1159, allocations: 1.4 MB / 454.1 MB, free: 2.348 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007974/0.1167, allocations: 294.8 kB / 454.4 MB, free: 2.062 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002512/0.1192, allocations: 1.883 MB / 456.3 MB, free: 176 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003537/0.1196, allocations: 122.1 kB / 456.4 MB, free: 44 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.1207, allocations: 0.5053 MB / 456.9 MB, free: 15.54 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001029/0.1218, allocations: 0.5093 MB / 457.4 MB, free: 15.02 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002241/0.122, allocations: 32 kB / 457.4 MB, free: 14.99 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001291/0.1233, allocations: 279.8 kB / 457.7 MB, free: 14.72 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001883/0.1235, allocations: 119.2 kB / 457.8 MB, free: 14.6 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009651/0.1245, allocations: 481.3 kB / 458.3 MB, free: 14.13 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002102/0.1266, allocations: 1.231 MB / 459.5 MB, free: 12.89 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1266, allocations: 4 kB / 459.5 MB, free: 12.89 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.1266, allocations: 0 / 459.5 MB, free: 12.89 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.57e-05/0.1267, allocations: 0 / 459.5 MB, free: 12.89 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.005373/0.1321, allocations: 1.539 MB / 461.1 MB, free: 11.3 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.067e-05/0.1321, allocations: 12.03 kB / 461.1 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009364/0.1331, allocations: 155.6 kB / 461.2 MB, free: 11.14 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001647/0.1348, allocations: 0.6448 MB / 461.9 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.571e-05/0.1348, allocations: 50 kB / 461.9 MB, free: 10.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.135, allocations: 64 kB / 462 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/0.1364, allocations: 0.6629 MB / 462.6 MB, free: 9.652 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.913e-05/0.1365, allocations: 0 / 462.6 MB, free: 9.652 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.828e-05/0.1365, allocations: 36 kB / 462.7 MB, free: 9.617 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.67e-05/0.1366, allocations: 16 kB / 462.7 MB, free: 9.602 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/0.1379, allocations: 0.6349 MB / 463.3 MB, free: 8.969 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.004744/0.1427, allocations: 4.086 MB / 467.4 MB, free: 4.34 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001617/0.1443, allocations: 1.152 MB / 468.6 MB, free: 3.062 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004888/0.1448, allocations: 273.6 kB / 468.8 MB, free: 2.789 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.389e-05/0.1449, allocations: 19.92 kB / 468.9 MB, free: 2.77 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.1449, allocations: 42.5 kB / 468.9 MB, free: 2.719 MB / 314.7 MB Notification: Performance of pre-optimization done (n=78): time 2.554e-06/0.1449, allocations: 0 / 468.9 MB, free: 2.719 MB / 314.7 MB Notification: Performance of matching and sorting (n=78): time 0.004215/0.1492, allocations: 1.431 MB / 470.3 MB, free: 1.238 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.806e-05/0.1493, allocations: 85.11 kB / 470.4 MB, free: 1.137 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006797/0.15, allocations: 495.1 kB / 470.9 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.861e-05/0.15, allocations: 37.7 kB / 470.9 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002672/0.1503, allocations: 332.5 kB / 471.3 MB, free: 276 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002349/0.1505, allocations: 272 kB / 471.5 MB, free: 0 / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002004/0.1507, allocations: 114.6 kB / 471.6 MB, free: 15.88 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.1509, allocations: 374.8 kB / 472 MB, free: 15.51 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004279/0.1514, allocations: 201.9 kB / 472.2 MB, free: 15.31 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004378/0.1518, allocations: 257.3 kB / 472.4 MB, free: 15.05 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009086/0.1527, allocations: 0.4954 MB / 472.9 MB, free: 14.54 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.1527, allocations: 0 / 472.9 MB, free: 14.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002067/0.1548, allocations: 0.8563 MB / 473.8 MB, free: 13.67 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.1548, allocations: 11.94 kB / 473.8 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.1549, allocations: 4.031 kB / 473.8 MB, free: 13.65 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001304/0.1562, allocations: 281.2 kB / 474.1 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005228/0.1567, allocations: 131.8 kB / 474.2 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005289/0.162, allocations: 3.86 MB / 478.1 MB, free: 9.121 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006621/0.1627, allocations: 51.89 kB / 478.1 MB, free: 9.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.32e-05/0.1628, allocations: 27.98 kB / 478.2 MB, free: 9.043 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (66): * Single equations (assignments): 64 * 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 {(3,7), (3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.000356/0.1632, allocations: 221.6 kB / 478.4 MB, free: 8.816 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002581/0.1634, allocations: 79 kB / 478.4 MB, free: 8.738 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00219/0.1656, allocations: 0.8912 MB / 479.3 MB, free: 7.832 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.71e-05/0.1656, allocations: 11.98 kB / 479.3 MB, free: 7.82 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1657, allocations: 0 / 479.3 MB, free: 7.82 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.076e-06/0.1657, allocations: 7.984 kB / 479.4 MB, free: 7.812 MB / 330.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 postOpt removeSimpleEquations (simulation): time 0.003678/0.1694, allocations: 2.108 MB / 481.5 MB, free: 5.566 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.1694, allocations: 3.938 kB / 481.5 MB, free: 5.562 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004901/0.1699, allocations: 111.9 kB / 481.6 MB, free: 5.453 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00116/0.171, allocations: 277.4 kB / 481.8 MB, free: 5.176 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.826e-05/0.1711, allocations: 12 kB / 481.9 MB, free: 5.164 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004825/0.1759, allocations: 3.788 MB / 485.6 MB, free: 1.109 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.176, allocations: 0 / 485.6 MB, free: 1.109 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1916/0.3676, allocations: 1.952 MB / 487.6 MB, free: 48.88 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000503/0.3682, allocations: 203.7 kB / 487.8 MB, free: 48.79 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/0.3683, allocations: 12.48 kB / 487.8 MB, free: 48.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006551/0.369, allocations: 42.31 kB / 487.9 MB, free: 48.79 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002513/0.3692, allocations: 58.5 kB / 487.9 MB, free: 48.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.634e-05/0.3693, allocations: 19.25 kB / 487.9 MB, free: 48.79 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005132/0.3698, allocations: 347.3 kB / 488.3 MB, free: 48.7 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.493e-06/0.3698, allocations: 5 kB / 488.3 MB, free: 48.7 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00125/0.3711, allocations: 280.3 kB / 488.5 MB, free: 48.7 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (60): * Single equations (assignments): 58 * 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 {(3,7), (3,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003124/0.3714, allocations: 178 kB / 488.7 MB, free: 48.61 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00198/0.3734, allocations: 0.8829 MB / 489.6 MB, free: 48.38 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3734, allocations: 1.094 kB / 489.6 MB, free: 48.38 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.3746, allocations: 0.6487 MB / 490.3 MB, free: 48.14 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009312/0.3756, allocations: 98.31 kB / 490.3 MB, free: 48.09 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.003212/0.3788, allocations: 1.983 MB / 492.3 MB, free: 46.82 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006537/0.3795, allocations: 0.9602 MB / 493.3 MB, free: 46.11 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004967/0.38, allocations: 86.84 kB / 493.4 MB, free: 46.11 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.3802, allocations: 46.73 kB / 493.4 MB, free: 46.1 MB / 330.7 MB Notification: Performance of SimCode: time 1.022e-06/0.3802, allocations: 0 / 493.4 MB, free: 46.1 MB / 330.7 MB Notification: Performance of Templates: time 0.0216/0.4018, allocations: 10.59 MB / 0.4922 GB, free: 43.29 MB / 330.7 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.sim & ./PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.pipe 2>&1)