Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_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_PowerGrids_Electrical_Test_LoadImpedancePQ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.LoadImpedancePQ,fileNamePrefix="PowerGrids_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.001238/0.001238, allocations: 98.83 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.705/1.705, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05884/0.05884, allocations: 14.16 MB / 284.5 MB, free: 7.148 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.0004963/0.0004964, allocations: 12.22 kB / 346.2 MB, free: 19.8 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1203, allocations: 51.11 MB / 397.3 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.LoadImpedancePQ): time 0.008702/0.129, allocations: 8.301 MB / 405.6 MB, free: 8.312 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007925/0.137, allocations: 4.099 MB / 409.7 MB, free: 4.203 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001292/0.1383, allocations: 19.94 kB / 409.8 MB, free: 4.184 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001231/0.1396, allocations: 401.8 kB / 410.2 MB, free: 3.789 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005003/0.1446, allocations: 1.697 MB / 411.9 MB, free: 2.098 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009632/0.1456, allocations: 315.2 kB / 412.2 MB, free: 1.789 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004218/0.1498, allocations: 2.054 MB / 414.2 MB, free: 15.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003757/0.1502, allocations: 167.5 kB / 414.4 MB, free: 15.56 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001583/0.1518, allocations: 0.7862 MB / 415.2 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009443/0.1528, allocations: 0.7238 MB / 415.9 MB, free: 14.05 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.352e-05/0.1529, allocations: 36 kB / 415.9 MB, free: 14.01 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001151/0.154, allocations: 331.7 kB / 416.2 MB, free: 13.69 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001856/0.1542, allocations: 163.1 kB / 416.4 MB, free: 13.53 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004208/0.1546, allocations: 301 kB / 416.7 MB, free: 13.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001841/0.1565, allocations: 1.383 MB / 418.1 MB, free: 11.84 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1565, allocations: 3.938 kB / 418.1 MB, free: 11.84 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.497e-06/0.1565, allocations: 0 / 418.1 MB, free: 11.84 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.1565, allocations: 3.938 kB / 418.1 MB, free: 11.83 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.00901/0.1656, allocations: 2.373 MB / 420.5 MB, free: 9.402 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.936e-05/0.1656, allocations: 12.02 kB / 420.5 MB, free: 9.391 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003521/0.166, allocations: 156.7 kB / 420.6 MB, free: 9.227 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009692/0.167, allocations: 222.1 kB / 420.8 MB, free: 9.008 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001741/0.1687, allocations: 0.8822 MB / 421.7 MB, free: 8.082 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.256e-05/0.1688, allocations: 78.12 kB / 421.8 MB, free: 8.004 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.1689, allocations: 104 kB / 421.9 MB, free: 7.902 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001893/0.1708, allocations: 1.081 MB / 423 MB, free: 6.758 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/0.1709, allocations: 3.938 kB / 423 MB, free: 6.754 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/0.171, allocations: 40 kB / 423 MB, free: 6.715 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.042e-05/0.171, allocations: 28 kB / 423.1 MB, free: 6.688 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001927/0.173, allocations: 1.058 MB / 424.1 MB, free: 5.629 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.2644/0.4373, allocations: 6.299 MB / 430.4 MB, free: 34.45 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002943/0.4403, allocations: 1.491 MB / 431.9 MB, free: 34 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.712e-05/0.4404, allocations: 17.75 kB / 431.9 MB, free: 34 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.4404, allocations: 48.14 kB / 432 MB, free: 33.96 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 3.156e-06/0.4404, allocations: 0 / 432 MB, free: 33.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=116): time 0.00383/0.4443, allocations: 1.714 MB / 433.7 MB, free: 33.48 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.655e-05/0.4444, allocations: 115.3 kB / 433.8 MB, free: 33.36 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.4455, allocations: 0.7014 MB / 434.5 MB, free: 33.06 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.928e-05/0.4455, allocations: 46.11 kB / 434.5 MB, free: 33.01 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003954/0.446, allocations: 498.1 kB / 435 MB, free: 32.67 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004456/0.4464, allocations: 402.2 kB / 435.4 MB, free: 32.36 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-05/0.4465, allocations: 21.88 kB / 435.4 MB, free: 32.34 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.681e-05/0.4466, allocations: 348.2 kB / 435.8 MB, free: 32.02 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005857/0.4472, allocations: 324.4 kB / 436.1 MB, free: 31.9 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007346/0.4479, allocations: 491.5 kB / 436.6 MB, free: 31.61 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006814/0.4486, allocations: 408.2 kB / 437 MB, free: 31.42 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.4486, allocations: 1.312 kB / 437 MB, free: 31.42 MB / 318.1 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002159/0.4508, allocations: 1.189 MB / 438.2 MB, free: 30.9 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.4508, allocations: 6.469 kB / 438.2 MB, free: 30.9 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.4508, allocations: 5.375 kB / 438.2 MB, free: 30.9 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005867/0.4514, allocations: 164.5 kB / 438.3 MB, free: 30.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/0.4529, allocations: 324.9 kB / 438.7 MB, free: 30.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003547/0.4565, allocations: 4.483 MB / 443.1 MB, free: 26.61 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.4576, allocations: 86.47 kB / 443.2 MB, free: 26.56 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.904e-05/0.4577, allocations: 46.16 kB / 443.3 MB, free: 26.55 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.0005416/0.4583, allocations: 276.8 kB / 443.5 MB, free: 26.33 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000221/0.4585, allocations: 112.4 kB / 443.6 MB, free: 26.27 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002419/0.4609, allocations: 1.174 MB / 444.8 MB, free: 25.73 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.461, allocations: 15.78 kB / 444.8 MB, free: 25.73 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.461, allocations: 3.344 kB / 444.8 MB, free: 25.73 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.148e-05/0.461, allocations: 7.031 kB / 444.8 MB, free: 25.73 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.004325/0.4653, allocations: 2.721 MB / 447.6 MB, free: 24.14 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.4654, allocations: 1.281 kB / 447.6 MB, free: 24.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/0.4666, allocations: 280.5 kB / 447.8 MB, free: 24.12 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005405/0.4672, allocations: 163.3 kB / 448 MB, free: 24.05 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.611e-05/0.4672, allocations: 23.75 kB / 448 MB, free: 24.04 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003681/0.4709, allocations: 4.485 MB / 452.5 MB, free: 19.81 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.471, allocations: 5.312 kB / 452.5 MB, free: 19.8 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002902/0.4739, allocations: 1.343 MB / 453.9 MB, free: 19.04 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005414/0.4744, allocations: 271.1 kB / 454.1 MB, free: 18.83 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.4746, allocations: 21.92 kB / 454.1 MB, free: 18.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007435/0.4753, allocations: 66.38 kB / 454.2 MB, free: 18.78 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001863/0.4755, allocations: 71.2 kB / 454.3 MB, free: 18.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.63e-05/0.4756, allocations: 32.33 kB / 454.3 MB, free: 18.76 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000765/0.4764, allocations: 485 kB / 454.8 MB, free: 18.56 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4764, allocations: 4 kB / 454.8 MB, free: 18.55 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00176/0.4781, allocations: 370.3 kB / 455.2 MB, free: 18.51 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.002193/0.4803, allocations: 2.139 MB / 457.3 MB, free: 17.03 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00196/0.4823, allocations: 1.298 MB / 458.6 MB, free: 16.36 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4823, allocations: 3.938 kB / 458.6 MB, free: 16.35 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009938/0.4833, allocations: 0.8849 MB / 459.5 MB, free: 15.81 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006459/0.484, allocations: 113.2 kB / 459.6 MB, free: 15.75 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.009064/0.4931, allocations: 8.144 MB / 467.7 MB, free: 9.117 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004565/0.4935, allocations: 1.09 MB / 468.8 MB, free: 7.996 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007121/0.4943, allocations: 158.5 kB / 469 MB, free: 7.84 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004575/0.4947, allocations: 419.3 kB / 469.4 MB, free: 7.43 MB / 318.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4947, allocations: 0 / 469.4 MB, free: 7.43 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03778/0.5325, allocations: 20.09 MB / 489.5 MB, free: 3.398 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001695/0.5327, allocations: 190.5 kB / 489.7 MB, free: 3.156 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.181/2.714, allocations: 4 kB / 489.7 MB, free: 3.152 MB / 334.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_LoadImpedancePQ_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_LoadImpedancePQ.fmu > PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe 2>&1) Environment - environmentSimulation: