Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.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.OneBusTransmissionLineShuntOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineShuntOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineShuntOneLoad",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.0008687/0.0008688, allocations: 91.84 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.004883/0.004883, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.18/1.18, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05604/0.05604, allocations: 14.15 MB / 284.9 MB, free: 7.035 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.0004325/0.0004325, allocations: 16.16 kB / 346.9 MB, free: 19.44 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07752/0.07797, allocations: 51.11 MB / 398 MB, free: 292 kB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad): time 0.005732/0.08373, allocations: 6.839 MB / 404.8 MB, free: 9.406 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003923/0.08768, allocations: 3.46 MB / 408.3 MB, free: 5.938 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002546/0.08794, allocations: 15.94 kB / 408.3 MB, free: 5.922 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000662/0.08861, allocations: 366.4 kB / 408.6 MB, free: 5.562 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002531/0.09115, allocations: 1.438 MB / 410.1 MB, free: 4.129 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008608/0.09203, allocations: 0.5484 MB / 410.6 MB, free: 3.582 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001759/0.09379, allocations: 1.817 MB / 412.5 MB, free: 1.758 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/0.094, allocations: 122.4 kB / 412.6 MB, free: 1.629 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004787/0.09449, allocations: 485.5 kB / 413 MB, free: 1.152 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004909/0.09499, allocations: 0.5055 MB / 413.6 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.209e-05/0.09505, allocations: 24 kB / 413.6 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005997/0.09565, allocations: 371.6 kB / 413.9 MB, free: 264 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.969e-05/0.09574, allocations: 107.3 kB / 414 MB, free: 156 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004062/0.09615, allocations: 0.4951 MB / 414.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.09726, allocations: 1.269 MB / 415.8 MB, free: 14.38 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.09728, allocations: 0 / 415.8 MB, free: 14.38 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.09729, allocations: 4 kB / 415.8 MB, free: 14.37 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.0973, allocations: 0 / 415.8 MB, free: 14.37 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.003881/0.1012, allocations: 1.466 MB / 417.3 MB, free: 12.86 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.1012, allocations: 12.03 kB / 417.3 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001189/0.1014, allocations: 118.7 kB / 417.4 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005319/0.1019, allocations: 147.8 kB / 417.5 MB, free: 12.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008892/0.1028, allocations: 0.6296 MB / 418.2 MB, free: 11.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.096e-05/0.1028, allocations: 58.12 kB / 418.2 MB, free: 11.85 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.316e-05/0.1029, allocations: 68 kB / 418.3 MB, free: 11.79 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.104, allocations: 0.7592 MB / 419.1 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.104, allocations: 3.938 kB / 419.1 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.282e-05/0.104, allocations: 32 kB / 419.1 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.1041, allocations: 20 kB / 419.1 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009767/0.105, allocations: 0.6792 MB / 419.8 MB, free: 10.25 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.004042/0.1091, allocations: 4.808 MB / 424.6 MB, free: 4.906 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/0.1106, allocations: 0.94 MB / 425.5 MB, free: 3.93 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003921/0.111, allocations: 295.1 kB / 425.8 MB, free: 3.641 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.596e-05/0.1111, allocations: 12.59 kB / 425.8 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.1111, allocations: 43.22 kB / 425.9 MB, free: 3.578 MB / 318.1 MB Notification: Performance of pre-optimization done (n=77): time 1.723e-06/0.1111, allocations: 0 / 425.9 MB, free: 3.578 MB / 318.1 MB Notification: Performance of matching and sorting (n=77): time 0.004281/0.1154, allocations: 1.569 MB / 427.5 MB, free: 1.977 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.1154, allocations: 60.06 kB / 427.5 MB, free: 1.906 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004932/0.1159, allocations: 499 kB / 428 MB, free: 1.41 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.847e-05/0.116, allocations: 41.7 kB / 428 MB, free: 1.363 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000219/0.1162, allocations: 363.9 kB / 428.4 MB, free: 1 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001755/0.1164, allocations: 268.1 kB / 428.7 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.646e-05/0.1165, allocations: 61.69 kB / 428.7 MB, free: 0.668 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1166, allocations: 378.7 kB / 429.1 MB, free: 296 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003148/0.1169, allocations: 205.9 kB / 429.3 MB, free: 88 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1317/0.2487, allocations: 328.5 kB / 429.6 MB, free: 25.46 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007706/0.2495, allocations: 0.5852 MB / 430.2 MB, free: 25.34 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.2495, allocations: 4.312 kB / 430.2 MB, free: 25.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001675/0.2512, allocations: 0.9385 MB / 431.1 MB, free: 25.27 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.2512, allocations: 5.719 kB / 431.1 MB, free: 25.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.2512, allocations: 3.969 kB / 431.1 MB, free: 25.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001034/0.2523, allocations: 322.7 kB / 431.5 MB, free: 25.26 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000604/0.2529, allocations: 162 kB / 431.6 MB, free: 25.26 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003925/0.2568, allocations: 3.069 MB / 434.7 MB, free: 23.99 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005326/0.2573, allocations: 57.75 kB / 434.7 MB, free: 23.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.856e-05/0.2574, allocations: 27.09 kB / 434.8 MB, free: 23.98 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 {(7,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0002568/0.2577, allocations: 232.4 kB / 435 MB, free: 23.86 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.427e-05/0.2578, allocations: 73.25 kB / 435.1 MB, free: 23.82 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00162/0.2594, allocations: 0.887 MB / 436 MB, free: 23.74 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.2594, allocations: 6.875 kB / 436 MB, free: 23.74 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.2594, allocations: 0 / 436 MB, free: 23.74 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.2594, allocations: 8.797 kB / 436 MB, free: 23.74 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002431/0.2619, allocations: 1.803 MB / 437.8 MB, free: 23.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.2619, allocations: 0 / 437.8 MB, free: 23.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00049/0.2624, allocations: 131.1 kB / 437.9 MB, free: 23.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009191/0.2633, allocations: 300 kB / 438.2 MB, free: 23.26 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.729e-05/0.2633, allocations: 15.28 kB / 438.2 MB, free: 23.26 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00344/0.2668, allocations: 3 MB / 441.2 MB, free: 21.76 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2668, allocations: 0 / 441.2 MB, free: 21.76 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001505/0.2683, allocations: 0.9348 MB / 442.1 MB, free: 21.31 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002109/0.2685, allocations: 203.8 kB / 442.3 MB, free: 21.14 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.165e-05/0.2686, allocations: 22.81 kB / 442.4 MB, free: 21.12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003957/0.269, allocations: 28.69 kB / 442.4 MB, free: 21.11 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.763e-05/0.2691, allocations: 53.81 kB / 442.4 MB, free: 21.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.2692, allocations: 20.64 kB / 442.5 MB, free: 21.1 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003414/0.2695, allocations: 345.4 kB / 442.8 MB, free: 20.94 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2695, allocations: 4 kB / 442.8 MB, free: 20.94 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007319/0.2702, allocations: 304.6 kB / 443.1 MB, free: 20.89 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 {(6,21)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001737/0.272, allocations: 1.544 MB / 444.7 MB, free: 19.9 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.001415/0.2734, allocations: 0.8899 MB / 445.5 MB, free: 19.5 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2734, allocations: 0 / 445.5 MB, free: 19.5 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.0008578/0.2743, allocations: 0.5932 MB / 446.1 MB, free: 19.21 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005131/0.2748, allocations: 91 kB / 446.2 MB, free: 19.16 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.007315/0.2821, allocations: 6.252 MB / 452.5 MB, free: 15.51 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.2824, allocations: 0.9405 MB / 453.4 MB, free: 14.8 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003299/0.2828, allocations: 76 kB / 453.5 MB, free: 14.77 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002318/0.283, allocations: 252.8 kB / 453.7 MB, free: 14.58 MB / 318.1 MB Notification: Performance of SimCode: time 4.71e-07/0.283, allocations: 0 / 453.7 MB, free: 14.58 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02398/0.307, allocations: 16.59 MB / 470.3 MB, free: 1.164 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001487/0.3072, allocations: 240.7 kB / 470.6 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.929/2.236, allocations: 4 kB / 470.6 MB, free: 0.9062 MB / 318.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineShuntOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineShuntOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad_res.mat","../files/PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches