Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.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.OneBusImpedanceOneVariableLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneVariableLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneVariableLoad",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.00124/0.00124, allocations: 108 kB / 15.6 MB, free: 132 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.001487/0.001487, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.605/1.605, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.0672/0.0672, allocations: 14.17 MB / 283.9 MB, free: 7.082 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.001816/0.001816, allocations: 64.44 kB / 345.2 MB, free: 19.3 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09949/0.1013, allocations: 50.14 MB / 395.3 MB, free: 1.121 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad): time 0.009095/0.1105, allocations: 6.922 MB / 402.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006234/0.1167, allocations: 3.417 MB / 405.6 MB, free: 6.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001102/0.1179, allocations: 15.94 kB / 405.7 MB, free: 6.715 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001369/0.1193, allocations: 373.8 kB / 406 MB, free: 6.348 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003947/0.1233, allocations: 1.502 MB / 407.5 MB, free: 4.852 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007577/0.124, allocations: 317 kB / 407.8 MB, free: 4.543 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002287/0.1263, allocations: 1.852 MB / 409.7 MB, free: 2.684 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002913/0.1266, allocations: 118.2 kB / 409.8 MB, free: 2.559 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009828/0.1276, allocations: 0.6266 MB / 410.4 MB, free: 1.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001098/0.1287, allocations: 0.6342 MB / 411.1 MB, free: 1.293 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001932/0.129, allocations: 64 kB / 411.1 MB, free: 1.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001086/0.13, allocations: 347.8 kB / 411.5 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002027/0.1303, allocations: 167.2 kB / 411.6 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009515/0.1312, allocations: 0.5364 MB / 412.2 MB, free: 192 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002022/0.1333, allocations: 1.355 MB / 413.5 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1333, allocations: 0 / 413.5 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1333, allocations: 0 / 413.5 MB, free: 14.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.588e-05/0.1333, allocations: 4 kB / 413.5 MB, free: 14.82 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.005348/0.1387, allocations: 1.614 MB / 415.1 MB, free: 13.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.1387, allocations: 12.03 kB / 415.2 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001562/0.1389, allocations: 106.7 kB / 415.3 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006632/0.1396, allocations: 155.6 kB / 415.4 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00137/0.141, allocations: 0.6838 MB / 416.1 MB, free: 12.15 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.372e-05/0.141, allocations: 46 kB / 416.1 MB, free: 12.11 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.973e-05/0.1411, allocations: 67.94 kB / 416.2 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.1424, allocations: 0.6629 MB / 416.9 MB, free: 11.35 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.1424, allocations: 0 / 416.9 MB, free: 11.35 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.19e-05/0.1425, allocations: 32 kB / 416.9 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.105e-05/0.1425, allocations: 19.98 kB / 416.9 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/0.1437, allocations: 0.631 MB / 417.6 MB, free: 10.67 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.006637/0.1504, allocations: 4.496 MB / 422 MB, free: 5.633 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001745/0.1521, allocations: 1.156 MB / 423.2 MB, free: 4.352 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004532/0.1526, allocations: 273.6 kB / 423.5 MB, free: 4.078 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.669e-05/0.1527, allocations: 11.98 kB / 423.5 MB, free: 4.066 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.1527, allocations: 50.5 kB / 423.5 MB, free: 4.008 MB / 318.1 MB Notification: Performance of pre-optimization done (n=78): time 2.555e-06/0.1527, allocations: 0 / 423.5 MB, free: 4.008 MB / 318.1 MB Notification: Performance of matching and sorting (n=78): time 0.004028/0.1568, allocations: 1.431 MB / 425 MB, free: 2.527 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/0.1568, allocations: 85.11 kB / 425 MB, free: 2.426 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007821/0.1576, allocations: 0.5499 MB / 425.6 MB, free: 1.867 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.389e-05/0.1577, allocations: 37.7 kB / 425.6 MB, free: 1.824 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000231/0.1579, allocations: 324.5 kB / 425.9 MB, free: 1.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002725/0.1582, allocations: 272 kB / 426.2 MB, free: 1.23 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/0.1584, allocations: 114.6 kB / 426.3 MB, free: 1.113 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.1585, allocations: 374.8 kB / 426.7 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003621/0.1589, allocations: 197.9 kB / 426.9 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004026/0.1593, allocations: 265.3 kB / 427.1 MB, free: 280 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1839/0.3433, allocations: 0.4901 MB / 427.6 MB, free: 37.66 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.778e-06/0.3433, allocations: 0 / 427.6 MB, free: 37.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002547/0.3459, allocations: 0.8632 MB / 428.5 MB, free: 37.59 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.3459, allocations: 5.5 kB / 428.5 MB, free: 37.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.3459, allocations: 4.938 kB / 428.5 MB, free: 37.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001273/0.3472, allocations: 280 kB / 428.8 MB, free: 37.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005603/0.3478, allocations: 126.1 kB / 428.9 MB, free: 37.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004499/0.3523, allocations: 4.237 MB / 433.1 MB, free: 34.47 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007393/0.353, allocations: 53.66 kB / 433.2 MB, free: 34.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-05/0.3531, allocations: 19.41 kB / 433.2 MB, free: 34.46 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,7), (3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002542/0.3533, allocations: 223.4 kB / 433.4 MB, free: 34.27 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/0.3535, allocations: 76.48 kB / 433.5 MB, free: 34.24 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001921/0.3554, allocations: 0.8896 MB / 434.4 MB, free: 33.88 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.3555, allocations: 9.422 kB / 434.4 MB, free: 33.88 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.3555, allocations: 0 / 434.4 MB, free: 33.88 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.3555, allocations: 4.578 kB / 434.4 MB, free: 33.88 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.002988/0.3585, allocations: 2.239 MB / 436.6 MB, free: 32.51 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.3585, allocations: 1.781 kB / 436.6 MB, free: 32.51 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004538/0.359, allocations: 118.6 kB / 436.8 MB, free: 32.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001085/0.3601, allocations: 280.9 kB / 437 MB, free: 32.44 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/0.3601, allocations: 11.7 kB / 437 MB, free: 32.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003973/0.3641, allocations: 4.143 MB / 441.2 MB, free: 28.96 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3641, allocations: 4 kB / 441.2 MB, free: 28.96 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001859/0.366, allocations: 1.031 MB / 442.2 MB, free: 28.42 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002723/0.3662, allocations: 227.1 kB / 442.4 MB, free: 28.24 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.702e-05/0.3663, allocations: 10.36 kB / 442.5 MB, free: 28.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00062/0.367, allocations: 29.48 kB / 442.5 MB, free: 28.22 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.3671, allocations: 58.47 kB / 442.5 MB, free: 28.21 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.071e-05/0.3671, allocations: 16.72 kB / 442.6 MB, free: 28.2 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004387/0.3676, allocations: 395.5 kB / 442.9 MB, free: 28.02 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3676, allocations: 0.5 kB / 442.9 MB, free: 28.02 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001065/0.3687, allocations: 310 kB / 443.3 MB, free: 27.98 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,7), (3,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002112/0.3708, allocations: 1.639 MB / 444.9 MB, free: 26.89 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001786/0.3726, allocations: 0.9286 MB / 445.8 MB, free: 26.41 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3726, allocations: 0 / 445.8 MB, free: 26.41 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.3736, allocations: 0.6545 MB / 446.5 MB, free: 26.03 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007538/0.3744, allocations: 131.2 kB / 446.6 MB, free: 25.96 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.008859/0.3833, allocations: 6.126 MB / 452.7 MB, free: 22.54 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004612/0.3838, allocations: 0.942 MB / 453.7 MB, free: 21.83 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004006/0.3842, allocations: 84.88 kB / 453.8 MB, free: 21.8 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003199/0.3845, allocations: 270.3 kB / 454 MB, free: 21.61 MB / 318.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3845, allocations: 0 / 454 MB, free: 21.61 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04593/0.4304, allocations: 19.79 MB / 473.8 MB, free: 3.406 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.65, allocations: 10.28 kB / 473.8 MB, free: 3.398 MB / 318.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.sim & python3 -m fmpy simulate --output-file PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneVariableLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches