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.001054/0.001054, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001239/0.001239, allocations: 168.7 kB / 15.95 MB, free: 204 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.461/1.461, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06062/0.06062, allocations: 14.18 MB / 284.6 MB, free: 7.129 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.000529/0.0005293, allocations: 16 kB / 346.3 MB, free: 19.76 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1024, allocations: 51.11 MB / 397.4 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.LoadImpedancePQ): time 0.008157/0.1106, allocations: 9.153 MB / 406.5 MB, free: 7.414 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00651/0.1171, allocations: 4.117 MB / 410.7 MB, free: 3.285 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009882/0.1181, allocations: 23.94 kB / 410.7 MB, free: 3.262 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001112/0.1193, allocations: 405.8 kB / 411.1 MB, free: 2.863 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004255/0.1235, allocations: 1.581 MB / 412.7 MB, free: 1.285 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007133/0.1243, allocations: 299.4 kB / 413 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003832/0.1281, allocations: 2.762 MB / 415.7 MB, free: 14.22 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004361/0.1285, allocations: 163.5 kB / 415.9 MB, free: 14.05 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001382/0.1299, allocations: 0.7309 MB / 416.6 MB, free: 13.32 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.131, allocations: 0.7428 MB / 417.4 MB, free: 12.57 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001124/0.1311, allocations: 40 kB / 417.4 MB, free: 12.53 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.1322, allocations: 331.7 kB / 417.7 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001853/0.1324, allocations: 174.8 kB / 417.9 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003862/0.1328, allocations: 305 kB / 418.2 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001623/0.1344, allocations: 1.403 MB / 419.6 MB, free: 10.33 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.1344, allocations: 4 kB / 419.6 MB, free: 10.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1344, allocations: 0 / 419.6 MB, free: 10.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.204e-05/0.1345, allocations: 0 / 419.6 MB, free: 10.32 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.008079/0.1425, allocations: 2.377 MB / 422 MB, free: 7.891 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.1426, allocations: 8.031 kB / 422 MB, free: 7.883 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002558/0.1429, allocations: 160.7 kB / 422.1 MB, free: 7.715 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008582/0.1437, allocations: 226.1 kB / 422.4 MB, free: 7.492 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/0.1452, allocations: 0.8743 MB / 423.2 MB, free: 6.574 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.894e-05/0.1453, allocations: 82.12 kB / 423.3 MB, free: 6.492 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/0.1454, allocations: 108 kB / 423.4 MB, free: 6.387 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/0.1472, allocations: 1.089 MB / 424.5 MB, free: 5.234 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.1472, allocations: 4 kB / 424.5 MB, free: 5.23 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.533e-05/0.1473, allocations: 40 kB / 424.5 MB, free: 5.191 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.391e-05/0.1474, allocations: 28 kB / 424.6 MB, free: 5.164 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001717/0.1491, allocations: 1.054 MB / 425.6 MB, free: 4.109 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.2064/0.3555, allocations: 6.299 MB / 431.9 MB, free: 33.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002715/0.3582, allocations: 1.492 MB / 433.4 MB, free: 32.88 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006611/0.3589, allocations: 416.1 kB / 433.8 MB, free: 32.86 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.948e-05/0.359, allocations: 18.31 kB / 433.8 MB, free: 32.86 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.359, allocations: 51.27 kB / 433.9 MB, free: 32.82 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 2.886e-06/0.359, allocations: 0 / 433.9 MB, free: 32.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=116): time 0.003424/0.3625, allocations: 1.716 MB / 435.6 MB, free: 32.29 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.3625, allocations: 118.9 kB / 435.7 MB, free: 32.16 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009702/0.3635, allocations: 0.6992 MB / 436.4 MB, free: 31.86 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.376e-05/0.3636, allocations: 41.05 kB / 436.5 MB, free: 31.82 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003497/0.3639, allocations: 497.4 kB / 436.9 MB, free: 31.47 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003626/0.3643, allocations: 406.3 kB / 437.3 MB, free: 31.15 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.277e-05/0.3644, allocations: 20.78 kB / 437.4 MB, free: 31.14 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.3645, allocations: 347.5 kB / 437.7 MB, free: 30.82 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006025/0.3651, allocations: 327.1 kB / 438 MB, free: 30.7 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006745/0.3658, allocations: 498.1 kB / 438.5 MB, free: 30.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007259/0.3665, allocations: 408 kB / 438.9 MB, free: 30.21 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.3665, allocations: 1.688 kB / 438.9 MB, free: 30.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002404/0.3689, allocations: 1.176 MB / 440.1 MB, free: 29.71 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.565e-05/0.369, allocations: 10.89 kB / 440.1 MB, free: 29.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.369, allocations: 4.75 kB / 440.1 MB, free: 29.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005802/0.3696, allocations: 168.3 kB / 440.3 MB, free: 29.65 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/0.3709, allocations: 328.6 kB / 440.6 MB, free: 29.62 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003379/0.3743, allocations: 4.439 MB / 445 MB, free: 25.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/0.3754, allocations: 88.95 kB / 445.1 MB, free: 25.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.857e-05/0.3755, allocations: 45.47 kB / 445.2 MB, free: 25.38 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.000543/0.3761, allocations: 280.4 kB / 445.4 MB, free: 25.15 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000266/0.3764, allocations: 112.8 kB / 445.5 MB, free: 25.09 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002284/0.3787, allocations: 1.165 MB / 446.7 MB, free: 24.55 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.3787, allocations: 11.53 kB / 446.7 MB, free: 24.55 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.3787, allocations: 3.938 kB / 446.7 MB, free: 24.55 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.697e-05/0.3787, allocations: 9.844 kB / 446.7 MB, free: 24.55 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.004032/0.3828, allocations: 2.724 MB / 449.5 MB, free: 22.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.3828, allocations: 0 / 449.5 MB, free: 22.95 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/0.384, allocations: 285.8 kB / 449.7 MB, free: 22.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004958/0.3845, allocations: 159.4 kB / 449.9 MB, free: 22.87 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.344e-05/0.3846, allocations: 28.75 kB / 449.9 MB, free: 22.85 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00309/0.3877, allocations: 4.435 MB / 454.4 MB, free: 18.64 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3877, allocations: 1.375 kB / 454.4 MB, free: 18.64 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002122/0.3898, allocations: 1.332 MB / 455.7 MB, free: 17.9 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005314/0.3904, allocations: 268 kB / 455.9 MB, free: 17.69 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001981/0.3906, allocations: 20.73 kB / 456 MB, free: 17.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008376/0.3914, allocations: 62.53 kB / 456 MB, free: 17.64 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/0.3916, allocations: 89 kB / 456.1 MB, free: 17.62 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-05/0.3917, allocations: 27.19 kB / 456.1 MB, free: 17.61 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006864/0.3924, allocations: 483.9 kB / 456.6 MB, free: 17.41 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3924, allocations: 0 / 456.6 MB, free: 17.41 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001653/0.394, allocations: 372 kB / 457 MB, free: 17.36 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.002103/0.3961, allocations: 1.977 MB / 459 MB, free: 16.05 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002043/0.3982, allocations: 1.29 MB / 460.2 MB, free: 15.38 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.3982, allocations: 6.688 kB / 460.3 MB, free: 15.37 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.3992, allocations: 0.8792 MB / 461.1 MB, free: 14.83 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.4003, allocations: 135.2 kB / 461.3 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.009772/0.4101, allocations: 5.875 MB / 467.1 MB, free: 9.953 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004976/0.4106, allocations: 1.07 MB / 468.2 MB, free: 8.855 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007832/0.4114, allocations: 153.4 kB / 468.4 MB, free: 8.703 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004952/0.4119, allocations: 427.3 kB / 468.8 MB, free: 8.285 MB / 318.1 MB Notification: Performance of SimCode: time 1.613e-06/0.412, allocations: 0 / 468.8 MB, free: 8.285 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04193/0.4539, allocations: 20.14 MB / 488.9 MB, free: 4.223 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/0.4542, allocations: 195.3 kB / 489.1 MB, free: 3.98 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.036/2.49, allocations: 0 / 489.1 MB, free: 3.98 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: