Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.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.OneBusTransmissionLineOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineOneLoad",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.00136/0.00136, 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.001259/0.001259, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.522/1.522, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06611/0.06611, allocations: 14.17 MB / 283.9 MB, free: 7.105 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.001536/0.001536, allocations: 68.69 kB / 345.2 MB, free: 19.32 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09509/0.09663, allocations: 50.13 MB / 395.3 MB, free: 1.156 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad): time 0.007874/0.1046, allocations: 7.155 MB / 402.5 MB, free: 9.961 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005726/0.1103, allocations: 3.526 MB / 406 MB, free: 6.426 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007908/0.1112, allocations: 12 kB / 406 MB, free: 6.414 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001067/0.1123, allocations: 417.6 kB / 406.4 MB, free: 6.004 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003739/0.116, allocations: 1.559 MB / 408 MB, free: 4.445 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001214/0.1172, allocations: 0.5758 MB / 408.5 MB, free: 3.871 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002723/0.12, allocations: 1.813 MB / 410.4 MB, free: 2.055 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002926/0.1203, allocations: 126.5 kB / 410.5 MB, free: 1.922 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009846/0.1213, allocations: 0.5993 MB / 411.1 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007326/0.122, allocations: 0.6381 MB / 411.7 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.512e-05/0.1221, allocations: 64 kB / 411.8 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001094/0.1232, allocations: 423.7 kB / 412.2 MB, free: 208 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001437/0.1234, allocations: 163.2 kB / 412.4 MB, free: 40 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005861/0.124, allocations: 0.5287 MB / 412.9 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001972/0.126, allocations: 1.418 MB / 414.3 MB, free: 14.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.126, allocations: 0 / 414.3 MB, free: 14.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.556e-06/0.126, allocations: 0 / 414.3 MB, free: 14.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.126, allocations: 3.938 kB / 414.3 MB, free: 14.08 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.005258/0.1313, allocations: 1.7 MB / 416 MB, free: 12.33 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.1313, allocations: 8.031 kB / 416 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001272/0.1315, allocations: 114.7 kB / 416.1 MB, free: 12.2 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005851/0.1321, allocations: 155.7 kB / 416.3 MB, free: 12.05 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.1332, allocations: 0.6648 MB / 416.9 MB, free: 11.34 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.37e-05/0.1333, allocations: 58.12 kB / 417 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.065e-05/0.1334, allocations: 68 kB / 417.1 MB, free: 11.22 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.1345, allocations: 0.7515 MB / 417.8 MB, free: 10.43 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.1345, allocations: 0 / 417.8 MB, free: 10.43 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.238e-05/0.1346, allocations: 32 kB / 417.8 MB, free: 10.39 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.95e-05/0.1346, allocations: 20 kB / 417.9 MB, free: 10.38 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001/0.1356, allocations: 0.6713 MB / 418.5 MB, free: 9.703 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.005978/0.1416, allocations: 5.25 MB / 423.8 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/0.1432, allocations: 0.9435 MB / 424.7 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004183/0.1436, allocations: 295.1 kB / 425 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.674e-05/0.1437, allocations: 8.656 kB / 425 MB, free: 2.621 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.228e-05/0.1437, allocations: 51.14 kB / 425.1 MB, free: 2.562 MB / 318.1 MB Notification: Performance of pre-optimization done (n=77): time 3.076e-06/0.1438, allocations: 0 / 425.1 MB, free: 2.562 MB / 318.1 MB Notification: Performance of matching and sorting (n=77): time 0.004477/0.1482, allocations: 1.561 MB / 426.6 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.1483, allocations: 60.06 kB / 426.7 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007345/0.149, allocations: 0.5498 MB / 427.2 MB, free: 348 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.375e-05/0.1491, allocations: 37.7 kB / 427.3 MB, free: 304 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1721/0.3212, allocations: 353.7 kB / 427.6 MB, free: 37.87 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003577/0.3216, allocations: 272.2 kB / 427.9 MB, free: 37.8 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002268/0.3218, allocations: 135.6 kB / 428 MB, free: 37.78 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.322, allocations: 378.5 kB / 428.4 MB, free: 37.46 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003529/0.3223, allocations: 209.1 kB / 428.6 MB, free: 37.46 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004019/0.3227, allocations: 337.1 kB / 428.9 MB, free: 37.35 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007431/0.3235, allocations: 0.5797 MB / 429.5 MB, free: 37.24 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.3235, allocations: 1.875 kB / 429.5 MB, free: 37.24 MB / 318.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001955/0.3255, allocations: 0.9372 MB / 430.4 MB, free: 36.99 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.3255, allocations: 9.219 kB / 430.5 MB, free: 36.99 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.3255, allocations: 4.203 kB / 430.5 MB, free: 36.99 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/0.3266, allocations: 307.5 kB / 430.8 MB, free: 36.92 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006414/0.3273, allocations: 163.8 kB / 430.9 MB, free: 36.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004383/0.3316, allocations: 3.336 MB / 434.3 MB, free: 34.61 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007255/0.3324, allocations: 53.22 kB / 434.3 MB, free: 34.58 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.266e-05/0.3324, allocations: 32.8 kB / 434.3 MB, free: 34.57 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(4,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0002627/0.3327, allocations: 220.4 kB / 434.6 MB, free: 34.39 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.3329, allocations: 74.09 kB / 434.6 MB, free: 34.35 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001639/0.3345, allocations: 0.887 MB / 435.5 MB, free: 33.95 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.3345, allocations: 8.5 kB / 435.5 MB, free: 33.95 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.3345, allocations: 0.7031 kB / 435.5 MB, free: 33.95 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.3345, allocations: 3.703 kB / 435.5 MB, free: 33.95 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002641/0.3372, allocations: 1.917 MB / 437.4 MB, free: 32.9 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.3372, allocations: 5.641 kB / 437.4 MB, free: 32.9 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005315/0.3377, allocations: 125.2 kB / 437.6 MB, free: 32.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009593/0.3387, allocations: 294.6 kB / 437.9 MB, free: 32.82 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.153e-05/0.3388, allocations: 10.88 kB / 437.9 MB, free: 32.81 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004051/0.3428, allocations: 3.254 MB / 441.1 MB, free: 30.49 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3428, allocations: 3.609 kB / 441.1 MB, free: 30.49 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001692/0.3445, allocations: 0.9382 MB / 442.1 MB, free: 30.02 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003052/0.3449, allocations: 227.6 kB / 442.3 MB, free: 29.83 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.535e-05/0.345, allocations: 16.84 kB / 442.3 MB, free: 29.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005147/0.3455, allocations: 16.55 kB / 442.3 MB, free: 29.81 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.3456, allocations: 55.86 kB / 442.4 MB, free: 29.8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.074e-05/0.3456, allocations: 17.31 kB / 442.4 MB, free: 29.8 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004799/0.3461, allocations: 388.7 kB / 442.8 MB, free: 29.62 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3461, allocations: 0 / 442.8 MB, free: 29.62 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009628/0.3471, allocations: 336.9 kB / 443.1 MB, free: 29.57 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(4,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001842/0.3489, allocations: 1.548 MB / 444.6 MB, free: 28.55 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 initialization part: time 0.001788/0.3507, allocations: 0.8922 MB / 445.5 MB, free: 28.13 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3508, allocations: 4.125 kB / 445.5 MB, free: 28.13 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 simulation system equations: time 0.0008626/0.3516, allocations: 0.5788 MB / 446.1 MB, free: 27.82 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006348/0.3523, allocations: 115.4 kB / 446.2 MB, free: 27.76 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.007981/0.3603, allocations: 6.208 MB / 452.4 MB, free: 24.21 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003785/0.3607, allocations: 0.9412 MB / 453.4 MB, free: 23.5 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004642/0.3612, allocations: 82.33 kB / 453.5 MB, free: 23.47 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003119/0.3615, allocations: 257.6 kB / 453.7 MB, free: 23.28 MB / 318.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3615, allocations: 0 / 453.7 MB, free: 23.28 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05469/0.4162, allocations: 19.43 MB / 473.1 MB, free: 4.789 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.69, allocations: 11.19 kB / 473.2 MB, free: 4.781 MB / 318.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.sim & python3 -m fmpy simulate --output-file PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches