Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.LoadImpedancePQ.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 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 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 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.LoadImpedancePQ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.LoadImpedancePQ") translateModel(PowerGrids.Electrical.Test.LoadImpedancePQ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.LoadImpedancePQ") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 96.27 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001433/0.001432, allocations: 179.7 kB / 16.58 MB, free: 6.855 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.755/1.755, allocations: 205.4 MB / 222.8 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06352/0.06352, allocations: 14.15 MB / 285.2 MB, free: 7.152 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000537/0.0005373, allocations: 16 kB / 346.8 MB, free: 19.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1197, allocations: 51.11 MB / 397.9 MB, free: 0.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.LoadImpedancePQ): time 0.009366/0.1291, allocations: 8.294 MB / 406.2 MB, free: 8.422 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008391/0.1376, allocations: 4.103 MB / 410.3 MB, free: 4.309 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001623/0.1392, allocations: 23.88 kB / 410.3 MB, free: 4.285 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001644/0.1409, allocations: 393.9 kB / 410.7 MB, free: 3.895 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005859/0.1468, allocations: 1.706 MB / 412.4 MB, free: 2.195 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.1479, allocations: 303.3 kB / 412.7 MB, free: 1.898 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004321/0.1522, allocations: 2.047 MB / 414.7 MB, free: 15.85 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004867/0.1528, allocations: 187.1 kB / 414.9 MB, free: 15.66 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001574/0.1543, allocations: 0.7785 MB / 415.7 MB, free: 14.88 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001486/0.1558, allocations: 0.7277 MB / 416.4 MB, free: 14.15 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002597/0.1561, allocations: 40 kB / 416.5 MB, free: 14.11 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00144/0.1576, allocations: 327.7 kB / 416.8 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002863/0.1579, allocations: 167.1 kB / 416.9 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006722/0.1585, allocations: 297 kB / 417.2 MB, free: 13.33 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002277/0.1608, allocations: 1.379 MB / 418.6 MB, free: 11.95 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1609, allocations: 0 / 418.6 MB, free: 11.95 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1609, allocations: 4 kB / 418.6 MB, free: 11.94 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.699e-05/0.1609, allocations: 3.938 kB / 418.6 MB, free: 11.94 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.009551/0.1705, allocations: 2.373 MB / 421 MB, free: 9.508 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.4e-05/0.1706, allocations: 12.02 kB / 421 MB, free: 9.496 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001706/0.1723, allocations: 230.1 kB / 421.2 MB, free: 9.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003211/0.1755, allocations: 0.8666 MB / 422.1 MB, free: 8.359 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001469/0.1757, allocations: 86.08 kB / 422.2 MB, free: 8.273 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004291/0.1761, allocations: 100 kB / 422.3 MB, free: 8.176 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002372/0.1785, allocations: 1.077 MB / 423.4 MB, free: 7.035 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/0.1786, allocations: 0 / 423.4 MB, free: 7.035 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.1787, allocations: 52 kB / 423.4 MB, free: 6.984 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.331e-05/0.1788, allocations: 24 kB / 423.4 MB, free: 6.961 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002128/0.1809, allocations: 1.054 MB / 424.5 MB, free: 5.906 MB / 318.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.2285/0.4094, allocations: 6.309 MB / 430.8 MB, free: 34.56 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003213/0.4127, allocations: 1.486 MB / 432.3 MB, free: 34.11 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000104/0.4128, allocations: 22.25 kB / 432.3 MB, free: 34.11 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.76e-05/0.4128, allocations: 49.45 kB / 432.4 MB, free: 34.07 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 3.988e-06/0.4129, allocations: 0 / 432.4 MB, free: 34.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=116): time 0.003741/0.4166, allocations: 1.707 MB / 434.1 MB, free: 33.71 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.078e-05/0.4167, allocations: 121.5 kB / 434.2 MB, free: 33.59 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/0.418, allocations: 0.6985 MB / 434.9 MB, free: 33.46 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.012e-05/0.4181, allocations: 42.67 kB / 434.9 MB, free: 33.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005354/0.4187, allocations: 498.9 kB / 435.4 MB, free: 33.12 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005024/0.4192, allocations: 403.8 kB / 435.8 MB, free: 32.83 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.895e-05/0.4192, allocations: 21.25 kB / 435.8 MB, free: 32.82 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.4194, allocations: 352.3 kB / 436.2 MB, free: 32.49 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006998/0.4201, allocations: 331.2 kB / 436.5 MB, free: 32.37 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007789/0.4209, allocations: 490.8 kB / 437 MB, free: 32.08 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007345/0.4217, allocations: 398.8 kB / 437.4 MB, free: 31.89 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.4217, allocations: 7.969 kB / 437.4 MB, free: 31.89 MB / 318.1 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002558/0.4242, allocations: 1.183 MB / 438.5 MB, free: 31.38 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.4243, allocations: 6.062 kB / 438.6 MB, free: 31.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.4243, allocations: 5.406 kB / 438.6 MB, free: 31.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006918/0.425, allocations: 164.8 kB / 438.7 MB, free: 31.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001516/0.4265, allocations: 332.9 kB / 439 MB, free: 31.3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003843/0.4304, allocations: 4.482 MB / 443.5 MB, free: 27.08 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.4317, allocations: 85.38 kB / 443.6 MB, free: 27.04 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.621e-05/0.4318, allocations: 47.66 kB / 443.7 MB, free: 27.02 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (129): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005458/0.4324, allocations: 280.9 kB / 443.9 MB, free: 26.8 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002759/0.4326, allocations: 112.1 kB / 444 MB, free: 26.74 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002404/0.435, allocations: 1.161 MB / 445.2 MB, free: 26.21 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/0.4351, allocations: 15.67 kB / 445.2 MB, free: 26.2 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.4351, allocations: 10.84 kB / 445.2 MB, free: 26.2 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/0.4351, allocations: 7.125 kB / 445.2 MB, free: 26.2 MB / 318.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 postOpt removeSimpleEquations (simulation): time 0.004707/0.4398, allocations: 2.715 MB / 447.9 MB, free: 24.61 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.4399, allocations: 8.703 kB / 448 MB, free: 24.61 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001328/0.4412, allocations: 277.2 kB / 448.2 MB, free: 24.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006114/0.4418, allocations: 159.2 kB / 448.4 MB, free: 24.54 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.477e-05/0.4419, allocations: 25.11 kB / 448.4 MB, free: 24.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003474/0.4454, allocations: 4.483 MB / 452.9 MB, free: 20.29 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.4454, allocations: 1.375 kB / 452.9 MB, free: 20.29 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00403/0.4494, allocations: 2.506 MB / 455.4 MB, free: 18.64 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005374/0.45, allocations: 271.1 kB / 455.7 MB, free: 18.43 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.4501, allocations: 19.73 kB / 455.7 MB, free: 18.42 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007672/0.4509, allocations: 66.58 kB / 455.7 MB, free: 18.38 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001859/0.4511, allocations: 78.36 kB / 455.8 MB, free: 18.37 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.773e-05/0.4511, allocations: 31.81 kB / 455.9 MB, free: 18.36 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006234/0.4518, allocations: 484.2 kB / 456.3 MB, free: 18.16 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4518, allocations: 0.9844 kB / 456.3 MB, free: 18.16 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001579/0.4534, allocations: 370.6 kB / 456.7 MB, free: 18.11 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003557/0.4537, allocations: 204.4 kB / 456.9 MB, free: 17.97 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001935/0.4557, allocations: 1.301 MB / 458.2 MB, free: 17.29 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.4557, allocations: 3.5 kB / 458.2 MB, free: 17.29 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.4568, allocations: 0.8727 MB / 459.1 MB, free: 16.75 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006964/0.4575, allocations: 124.6 kB / 459.2 MB, free: 16.69 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004011/0.4615, allocations: 2.806 MB / 462 MB, free: 14.91 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004806/0.462, allocations: 1.127 MB / 463.1 MB, free: 14.14 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006854/0.4627, allocations: 150.6 kB / 463.3 MB, free: 14.05 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001961/0.4629, allocations: 85.16 kB / 463.4 MB, free: 14.03 MB / 318.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4629, allocations: 0 / 463.4 MB, free: 14.03 MB / 318.1 MB Notification: Performance of Templates: time 0.01659/0.4795, allocations: 10.69 MB / 474 MB, free: 4.266 MB / 318.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.LoadImpedancePQ.makefile Environment - environmentSimulation: (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.LoadImpedancePQ.sim & ./PowerGrids_symb_jac_PowerGrids.Electrical.Test.LoadImpedancePQ -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe 2>&1) Environment - environmentSimulation: