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: "" <> buildModelFMU(PowerGrids.Electrical.Test.LoadImpedancePQ,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Electrical_Test_LoadImpedancePQ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.LoadImpedancePQ,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Electrical_Test_LoadImpedancePQ",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009547/0.0009548, allocations: 99.86 kB / 15.7 MB, free: 468 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.001037/0.001037, allocations: 179.5 kB / 16.58 MB, free: 6.391 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.748/1.748, 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.05882/0.05882, allocations: 14.17 MB / 285.2 MB, free: 7.141 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.0005538/0.0005538, allocations: 20.22 kB / 346.9 MB, free: 19.8 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.148, allocations: 51.11 MB / 398 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.LoadImpedancePQ): time 0.01083/0.1589, allocations: 8.306 MB / 406.3 MB, free: 8.305 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009239/0.1682, allocations: 4.087 MB / 410.4 MB, free: 4.207 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001555/0.1698, allocations: 27.88 kB / 410.4 MB, free: 4.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001441/0.1713, allocations: 393.9 kB / 410.8 MB, free: 3.793 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006118/0.1774, allocations: 1.704 MB / 412.5 MB, free: 2.094 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.1788, allocations: 314.9 kB / 412.8 MB, free: 1.789 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005761/0.1845, allocations: 2.051 MB / 414.9 MB, free: 15.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005647/0.1851, allocations: 163.5 kB / 415 MB, free: 15.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002612/0.1878, allocations: 0.7746 MB / 415.8 MB, free: 14.79 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00188/0.1897, allocations: 0.7315 MB / 416.5 MB, free: 14.05 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.1898, allocations: 36 kB / 416.6 MB, free: 14.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001287/0.1911, allocations: 323.7 kB / 416.9 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001802/0.1913, allocations: 167.1 kB / 417 MB, free: 13.54 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004903/0.1918, allocations: 301 kB / 417.3 MB, free: 13.24 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001653/0.1934, allocations: 1.387 MB / 418.7 MB, free: 11.85 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1934, allocations: 0 / 418.7 MB, free: 11.85 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.1935, allocations: 0 / 418.7 MB, free: 11.85 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.1935, allocations: 3.938 kB / 418.7 MB, free: 11.84 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.00909/0.2026, allocations: 2.369 MB / 421.1 MB, free: 9.418 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.703e-05/0.2027, allocations: 16.02 kB / 421.1 MB, free: 9.402 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003505/0.203, allocations: 156.7 kB / 421.3 MB, free: 9.238 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.2041, allocations: 222.1 kB / 421.5 MB, free: 9.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002055/0.2061, allocations: 0.89 MB / 422.4 MB, free: 8.086 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.584e-05/0.2062, allocations: 74.12 kB / 422.4 MB, free: 8.012 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/0.2064, allocations: 104 kB / 422.5 MB, free: 7.91 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001946/0.2084, allocations: 1.077 MB / 423.6 MB, free: 6.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.2084, allocations: 4 kB / 423.6 MB, free: 6.766 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.45e-05/0.2085, allocations: 40 kB / 423.7 MB, free: 6.727 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.911e-05/0.2085, allocations: 28 kB / 423.7 MB, free: 6.699 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001802/0.2103, allocations: 1.062 MB / 424.7 MB, free: 5.637 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.2336/0.444, allocations: 6.297 MB / 431 MB, free: 34.01 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003014/0.447, allocations: 1.494 MB / 432.5 MB, free: 33.56 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.4472, allocations: 23.38 kB / 432.6 MB, free: 33.56 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.627e-05/0.4472, allocations: 50.66 kB / 432.6 MB, free: 33.52 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 5.521e-06/0.4472, allocations: 0 / 432.6 MB, free: 33.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=116): time 0.003869/0.4511, allocations: 1.707 MB / 434.3 MB, free: 33.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.4512, allocations: 119.8 kB / 434.4 MB, free: 33.04 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.4522, allocations: 0.6997 MB / 435.1 MB, free: 32.9 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.661e-05/0.4523, allocations: 45.33 kB / 435.2 MB, free: 32.87 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003479/0.4527, allocations: 499 kB / 435.7 MB, free: 32.55 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003497/0.453, allocations: 401.4 kB / 436.1 MB, free: 32.23 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.067e-05/0.4531, allocations: 21.91 kB / 436.1 MB, free: 32.22 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.4532, allocations: 344.1 kB / 436.4 MB, free: 31.9 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006/0.4538, allocations: 329 kB / 436.7 MB, free: 31.78 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006994/0.4545, allocations: 490.7 kB / 437.2 MB, free: 31.49 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000701/0.4552, allocations: 407.9 kB / 437.6 MB, free: 31.3 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.4552, allocations: 1.375 kB / 437.6 MB, free: 31.3 MB / 318.1 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002128/0.4574, allocations: 1.189 MB / 438.8 MB, free: 30.79 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.4574, allocations: 8.906 kB / 438.8 MB, free: 30.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.4574, allocations: 3.75 kB / 438.8 MB, free: 30.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000612/0.458, allocations: 164.3 kB / 439 MB, free: 30.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/0.4595, allocations: 326.6 kB / 439.3 MB, free: 30.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0034/0.4629, allocations: 4.486 MB / 443.8 MB, free: 26.49 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/0.4641, allocations: 92.59 kB / 443.9 MB, free: 26.44 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.036e-05/0.4642, allocations: 40.27 kB / 443.9 MB, free: 26.43 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.0005619/0.4647, allocations: 277 kB / 444.2 MB, free: 26.21 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002067/0.4649, allocations: 116.9 kB / 444.3 MB, free: 26.15 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002365/0.4673, allocations: 1.169 MB / 445.5 MB, free: 25.61 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.564e-05/0.4673, allocations: 12.31 kB / 445.5 MB, free: 25.61 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.4674, allocations: 3.25 kB / 445.5 MB, free: 25.61 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.975e-05/0.4674, allocations: 5.578 kB / 445.5 MB, free: 25.61 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.004647/0.472, allocations: 2.726 MB / 448.2 MB, free: 24.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.4721, allocations: 1.312 kB / 448.2 MB, free: 24.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001292/0.4734, allocations: 277.8 kB / 448.5 MB, free: 24 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005394/0.4739, allocations: 159.1 kB / 448.6 MB, free: 23.94 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-05/0.474, allocations: 28.44 kB / 448.7 MB, free: 23.92 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003207/0.4772, allocations: 4.486 MB / 453.2 MB, free: 19.68 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.4772, allocations: 4.812 kB / 453.2 MB, free: 19.68 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003242/0.4805, allocations: 2.504 MB / 455.7 MB, free: 18.04 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000458/0.4809, allocations: 265.6 kB / 455.9 MB, free: 17.83 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.4811, allocations: 22.12 kB / 455.9 MB, free: 17.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007382/0.4818, allocations: 61.2 kB / 456 MB, free: 17.79 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000165/0.482, allocations: 78.69 kB / 456.1 MB, free: 17.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.596e-05/0.482, allocations: 31.2 kB / 456.1 MB, free: 17.76 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006291/0.4827, allocations: 482.9 kB / 456.6 MB, free: 17.56 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4827, allocations: 0 / 456.6 MB, free: 17.56 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001584/0.4843, allocations: 376.8 kB / 457 MB, free: 17.5 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.002075/0.4864, allocations: 2.138 MB / 459.1 MB, free: 16.03 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001971/0.4883, allocations: 1.293 MB / 460.4 MB, free: 15.35 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4884, allocations: 0 / 460.4 MB, free: 15.35 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.4894, allocations: 0.8833 MB / 461.3 MB, free: 14.81 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006971/0.4901, allocations: 130.4 kB / 461.4 MB, free: 14.74 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.00998/0.5001, allocations: 8.713 MB / 470.1 MB, free: 7.293 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005529/0.5007, allocations: 1.128 MB / 471.2 MB, free: 6.137 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007562/0.5014, allocations: 155.7 kB / 471.4 MB, free: 5.98 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004786/0.5019, allocations: 419.3 kB / 471.8 MB, free: 5.57 MB / 318.1 MB Notification: Performance of SimCode: time 1.423e-06/0.5019, allocations: 0 / 471.8 MB, free: 5.57 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03996/0.5419, allocations: 20.11 MB / 491.9 MB, free: 1.512 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004154/0.5423, allocations: 200.1 kB / 492.1 MB, free: 1.273 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.089/2.632, allocations: 0 / 492.1 MB, free: 1.273 MB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_symb_jac_PowerGrids_Electrical_Test_LoadImpedancePQ_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_symb_jac_PowerGrids_Electrical_Test_LoadImpedancePQ.fmu > PowerGrids_symb_jac_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe 2>&1) Environment - environmentSimulation: