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.3/package.mo", uses=false) Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/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.007532/0.007532, allocations: 102.1 kB / 15.73 MB, free: 6.066 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.001915/0.001915, allocations: 193.5 kB / 16.68 MB, free: 5.973 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.463/1.463, allocations: 205.1 MB / 222.6 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06952/0.06952, allocations: 14.17 MB / 284.1 MB, free: 6.984 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.002248/0.002248, allocations: 68.11 kB / 396 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2591, allocations: 50.15 MB / 446.1 MB, free: 1.938 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.LoadImpedancePQ): time 0.01066/0.2698, allocations: 9.981 MB / 456.1 MB, free: 9.906 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007879/0.2777, allocations: 4.409 MB / 460.5 MB, free: 6.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001152/0.2789, allocations: 24.22 kB / 460.6 MB, free: 6.246 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001444/0.2804, allocations: 0.5228 MB / 461.1 MB, free: 5.844 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005336/0.2857, allocations: 1.953 MB / 463 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009716/0.2867, allocations: 376.9 kB / 463.4 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003968/0.2907, allocations: 2.879 MB / 466.3 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004046/0.2911, allocations: 180.4 kB / 466.5 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001639/0.2928, allocations: 0.9653 MB / 467.4 MB, free: 1.523 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001508/0.2943, allocations: 0.9644 MB / 468.4 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001954/0.2945, allocations: 96 kB / 468.5 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/0.2957, allocations: 435.7 kB / 468.9 MB, free: 308 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002346/0.2959, allocations: 242.8 kB / 469.1 MB, free: 64 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001016/0.297, allocations: 0.8202 MB / 470 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003031/0.3, allocations: 2.117 MB / 472.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.3, allocations: 7.938 kB / 472.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.572e-06/0.3001, allocations: 3.938 kB / 472.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.212e-05/0.3001, allocations: 0 / 472.1 MB, free: 13.11 MB / 350.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.009143/0.3092, allocations: 2.609 MB / 474.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.3093, allocations: 8.031 kB / 474.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001992/0.3095, allocations: 164.9 kB / 474.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009823/0.3105, allocations: 231.9 kB / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001941/0.3124, allocations: 0.9763 MB / 476.1 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.097e-05/0.3125, allocations: 82.06 kB / 476.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/0.3127, allocations: 100 kB / 476.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001895/0.3146, allocations: 1.07 MB / 477.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/0.3146, allocations: 3.938 kB / 477.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-05/0.3147, allocations: 40 kB / 477.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.644e-05/0.3148, allocations: 28 kB / 477.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001864/0.3166, allocations: 1.031 MB / 478.4 MB, free: 6.598 MB / 350.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.009469/0.3261, allocations: 6.704 MB / 485.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00274/0.3289, allocations: 1.478 MB / 486.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007108/0.3296, allocations: 411.8 kB / 487 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.3297, allocations: 12 kB / 487 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.277e-05/0.3298, allocations: 50.48 kB / 487.1 MB, free: 13.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=116): time 3.918e-06/0.3298, allocations: 0 / 487.1 MB, free: 13.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=116): time 0.003906/0.3337, allocations: 1.689 MB / 488.8 MB, free: 11.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.298e-05/0.3338, allocations: 122.8 kB / 488.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.335, allocations: 0.7708 MB / 489.7 MB, free: 10.4 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.171e-05/0.3351, allocations: 45.7 kB / 489.7 MB, free: 10.35 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004343/0.3356, allocations: 0.4942 MB / 490.2 MB, free: 9.852 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005055/0.3361, allocations: 420.2 kB / 490.6 MB, free: 9.438 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003176/0.3364, allocations: 190.9 kB / 490.8 MB, free: 9.246 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.3366, allocations: 341.9 kB / 491.1 MB, free: 8.906 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006537/0.3373, allocations: 326.5 kB / 491.4 MB, free: 8.586 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007977/0.3381, allocations: 483.6 kB / 491.9 MB, free: 8.066 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/0.3395, allocations: 0.8615 MB / 492.8 MB, free: 7.152 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.3396, allocations: 0 / 492.8 MB, free: 7.152 MB / 366.1 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002458/0.342, allocations: 1.162 MB / 493.9 MB, free: 5.973 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.3421, allocations: 4 kB / 493.9 MB, free: 5.969 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.3421, allocations: 4 kB / 493.9 MB, free: 5.965 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006439/0.3427, allocations: 162.8 kB / 494.1 MB, free: 5.797 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/0.3441, allocations: 307.6 kB / 494.4 MB, free: 5.496 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004989/0.3491, allocations: 4.81 MB / 499.2 MB, free: 280 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/0.3504, allocations: 75.67 kB / 499.3 MB, free: 204 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.487e-05/0.3505, allocations: 39.98 kB / 499.3 MB, free: 164 kB / 366.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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005174/0.351, allocations: 285.5 kB / 499.6 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002839/0.3513, allocations: 115.3 kB / 499.7 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00231/0.3536, allocations: 1.144 MB / 0.4891 GB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.3536, allocations: 12 kB / 0.4891 GB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.3536, allocations: 4 kB / 0.4891 GB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.473e-05/0.3537, allocations: 3.984 kB / 0.4891 GB, free: 14.57 MB / 382.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.004452/0.3581, allocations: 2.837 MB / 0.4919 GB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.278e-06/0.3582, allocations: 7.938 kB / 0.4919 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00117/0.3593, allocations: 271.7 kB / 0.4922 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000516/0.3599, allocations: 158.6 kB / 0.4923 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-05/0.3599, allocations: 20 kB / 0.4923 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004811/0.3647, allocations: 4.787 MB / 0.497 GB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.3648, allocations: 4 kB / 0.497 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002352/0.3671, allocations: 1.313 MB / 0.4983 GB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005526/0.3677, allocations: 300.1 kB / 0.4986 GB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/0.3678, allocations: 20 kB / 0.4986 GB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00087/0.3687, allocations: 43.88 kB / 0.4987 GB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/0.3689, allocations: 75.83 kB / 0.4987 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.531e-05/0.369, allocations: 28 kB / 0.4988 GB, free: 4.121 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008422/0.3698, allocations: 0.5342 MB / 0.4993 GB, free: 3.594 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.3e-07/0.3698, allocations: 0 / 0.4993 GB, free: 3.594 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001294/0.3711, allocations: 411.7 kB / 0.4997 GB, free: 3.191 MB / 382.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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002778/0.3739, allocations: 1.96 MB / 0.5016 GB, free: 1.191 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00234/0.3763, allocations: 1.282 MB / 0.5028 GB, free: 15.87 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3763, allocations: 0 / 0.5028 GB, free: 15.87 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00138/0.3777, allocations: 0.8628 MB / 0.5037 GB, free: 14.97 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.3789, allocations: 180.7 kB / 0.5038 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01308/0.392, allocations: 8.217 MB / 0.5119 GB, free: 6.336 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008097/0.3928, allocations: 1.075 MB / 0.5129 GB, free: 5.227 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000644/0.3935, allocations: 143.7 kB / 0.5131 GB, free: 5.082 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006855/0.3942, allocations: 427.3 kB / 0.5135 GB, free: 4.664 MB / 398.1 MB Notification: Performance of SimCode: time 6.021e-06/0.3942, allocations: 0 / 0.5135 GB, free: 4.664 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06643/0.4606, allocations: 24.36 MB / 0.5373 GB, free: 12.26 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.34, allocations: 7.906 kB / 0.5373 GB, free: 12.25 MB / 430.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/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ_res.mat --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) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.LoadImpedancePQ_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches