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.0009026/0.0009027, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.005268/0.005268, allocations: 171 kB / 16.26 MB, free: 6.613 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.174/1.174, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05576/0.05576, allocations: 14.16 MB / 284.9 MB, free: 7.039 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.0004402/0.0004403, allocations: 12.22 kB / 346.9 MB, free: 19.43 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06839/0.06884, allocations: 51.11 MB / 398 MB, free: 284 kB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.LoadImpedancePQ): time 0.007781/0.07665, allocations: 9.721 MB / 407.7 MB, free: 6.508 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005335/0.08201, allocations: 4.372 MB / 412.1 MB, free: 2.121 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004209/0.08245, allocations: 27.88 kB / 412.1 MB, free: 2.094 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008312/0.08328, allocations: 465.9 kB / 412.6 MB, free: 1.637 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00336/0.08665, allocations: 1.797 MB / 414.4 MB, free: 15.84 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00064/0.0873, allocations: 350.5 kB / 414.7 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002712/0.09002, allocations: 2.887 MB / 417.6 MB, free: 12.6 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002593/0.0903, allocations: 159.7 kB / 417.7 MB, free: 12.44 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008013/0.0911, allocations: 0.7462 MB / 418.5 MB, free: 11.69 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007459/0.09186, allocations: 0.7776 MB / 419.3 MB, free: 10.91 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.732e-05/0.09195, allocations: 47.94 kB / 419.3 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006707/0.09262, allocations: 339.8 kB / 419.6 MB, free: 10.53 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.09275, allocations: 166.9 kB / 419.8 MB, free: 10.36 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000587/0.09335, allocations: 0.7437 MB / 420.5 MB, free: 9.609 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001505/0.09486, allocations: 1.791 MB / 422.3 MB, free: 7.812 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.09487, allocations: 4 kB / 422.3 MB, free: 7.809 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.09488, allocations: 0 / 422.3 MB, free: 7.809 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.898e-06/0.0949, allocations: 0 / 422.3 MB, free: 7.809 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.008203/0.1031, allocations: 2.354 MB / 424.7 MB, free: 5.398 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.1031, allocations: 8.031 kB / 424.7 MB, free: 5.391 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001884/0.1033, allocations: 168.8 kB / 424.9 MB, free: 5.215 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007809/0.1041, allocations: 227.1 kB / 425.1 MB, free: 4.992 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.1054, allocations: 0.9126 MB / 426 MB, free: 4.035 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.444e-05/0.1055, allocations: 86.06 kB / 426.1 MB, free: 3.949 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.1056, allocations: 100 kB / 426.2 MB, free: 3.852 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/0.1072, allocations: 1.093 MB / 427.3 MB, free: 2.695 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.1073, allocations: 7.938 kB / 427.3 MB, free: 2.688 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.475e-05/0.1074, allocations: 44 kB / 427.3 MB, free: 2.645 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.169e-05/0.1074, allocations: 28 kB / 427.4 MB, free: 2.617 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001619/0.109, allocations: 1.066 MB / 428.4 MB, free: 1.551 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.1254/0.2344, allocations: 6.295 MB / 434.7 MB, free: 31.64 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002242/0.2367, allocations: 1.495 MB / 436.2 MB, free: 31.16 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005742/0.2372, allocations: 421.5 kB / 436.6 MB, free: 31.14 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.517e-05/0.2373, allocations: 20.17 kB / 436.6 MB, free: 31.14 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.2373, allocations: 51.77 kB / 436.7 MB, free: 31.09 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 2.515e-06/0.2374, allocations: 0 / 436.7 MB, free: 31.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=116): time 0.002934/0.2403, allocations: 1.727 MB / 438.4 MB, free: 30.56 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.2403, allocations: 121.7 kB / 438.5 MB, free: 30.43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006797/0.241, allocations: 0.7071 MB / 439.2 MB, free: 30.13 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.973e-05/0.2411, allocations: 45.45 kB / 439.3 MB, free: 30.09 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/0.2413, allocations: 495.3 kB / 439.8 MB, free: 29.72 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001972/0.2415, allocations: 402.6 kB / 440.2 MB, free: 29.41 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.2416, allocations: 89.91 kB / 440.3 MB, free: 29.36 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.831e-05/0.2417, allocations: 345.4 kB / 440.6 MB, free: 29.04 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005181/0.2422, allocations: 335.6 kB / 440.9 MB, free: 28.92 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005654/0.2428, allocations: 499.6 kB / 441.4 MB, free: 28.63 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.2439, allocations: 0.8835 MB / 442.3 MB, free: 28.12 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.2439, allocations: 4.125 kB / 442.3 MB, free: 28.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001762/0.2457, allocations: 1.198 MB / 443.5 MB, free: 27.61 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.2457, allocations: 9.344 kB / 443.5 MB, free: 27.61 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.2457, allocations: 2.719 kB / 443.5 MB, free: 27.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004972/0.2462, allocations: 163.6 kB / 443.7 MB, free: 27.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/0.2476, allocations: 324.9 kB / 444 MB, free: 27.53 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002751/0.2503, allocations: 4.445 MB / 448.4 MB, free: 23.31 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008269/0.2512, allocations: 92.38 kB / 448.5 MB, free: 23.26 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.188e-05/0.2512, allocations: 41.61 kB / 448.6 MB, free: 23.25 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 (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.0003008/0.2515, allocations: 284.6 kB / 448.8 MB, free: 23.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.2517, allocations: 112.9 kB / 448.9 MB, free: 22.96 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001938/0.2537, allocations: 1.177 MB / 450.1 MB, free: 22.42 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.2537, allocations: 13.25 kB / 450.1 MB, free: 22.42 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.2537, allocations: 3.797 kB / 450.1 MB, free: 22.42 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.2537, allocations: 6.656 kB / 450.1 MB, free: 22.42 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.003117/0.2568, allocations: 2.734 MB / 452.9 MB, free: 20.81 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.2568, allocations: 1.281 kB / 452.9 MB, free: 20.81 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.2579, allocations: 282.1 kB / 453.2 MB, free: 20.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004114/0.2583, allocations: 167.2 kB / 453.3 MB, free: 20.73 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.451e-05/0.2584, allocations: 20.05 kB / 453.3 MB, free: 20.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002516/0.2609, allocations: 4.448 MB / 457.8 MB, free: 16.49 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2609, allocations: 0 / 457.8 MB, free: 16.49 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001584/0.2625, allocations: 1.338 MB / 459.1 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002601/0.2628, allocations: 268.6 kB / 459.4 MB, free: 15.55 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.2629, allocations: 21.28 kB / 459.4 MB, free: 15.53 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007187/0.2636, allocations: 62.66 kB / 459.5 MB, free: 15.5 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.2638, allocations: 77.3 kB / 459.5 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.232e-05/0.2638, allocations: 32.3 kB / 459.6 MB, free: 15.48 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000392/0.2642, allocations: 491.6 kB / 460.1 MB, free: 15.27 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2642, allocations: 0 / 460.1 MB, free: 15.27 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008319/0.265, allocations: 377.5 kB / 460.4 MB, free: 15.22 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 (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.001719/0.2668, allocations: 1.975 MB / 462.4 MB, free: 13.85 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001485/0.2683, allocations: 1.307 MB / 463.7 MB, free: 13.06 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2683, allocations: 4.125 kB / 463.7 MB, free: 13.06 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008924/0.2692, allocations: 0.8832 MB / 464.6 MB, free: 12.45 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008514/0.27, allocations: 143.5 kB / 464.7 MB, free: 12.36 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009285/0.2793, allocations: 8.859 MB / 473.6 MB, free: 3.777 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.2797, allocations: 1.075 MB / 474.7 MB, free: 2.676 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006372/0.2803, allocations: 154.2 kB / 474.8 MB, free: 2.523 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004125/0.2807, allocations: 423.3 kB / 475.2 MB, free: 2.109 MB / 318.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2808, allocations: 0 / 475.2 MB, free: 2.109 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03132/0.3121, allocations: 20.55 MB / 495.8 MB, free: 13.63 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002021/0.3123, allocations: 209.9 kB / 496 MB, free: 13.38 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.01/2.323, allocations: 4 kB / 496 MB, free: 13.37 MB / 350.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","../files/PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches