Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.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.OneBusOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusOneLoad",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.0009291/0.0009291, allocations: 94.83 kB / 15.36 MB, free: 0.7344 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.005882/0.005883, allocations: 176 kB / 16.27 MB, free: 6.684 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.225/1.225, allocations: 205.4 MB / 222.5 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.0559/0.0559, allocations: 14.17 MB / 284.9 MB, free: 7.023 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.0004439/0.000444, allocations: 16 kB / 346.9 MB, free: 19.43 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07291/0.07336, allocations: 51.12 MB / 398 MB, free: 284 kB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusOneLoad): time 0.003592/0.07699, allocations: 3.903 MB / 401.9 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002997/0.08, allocations: 2.408 MB / 404.3 MB, free: 9.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001634/0.08018, allocations: 4 kB / 404.3 MB, free: 9.926 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000486/0.08068, allocations: 215.1 kB / 404.5 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001963/0.08265, allocations: 1.035 MB / 405.5 MB, free: 8.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004081/0.08307, allocations: 235.2 kB / 405.8 MB, free: 8.449 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009819/0.08406, allocations: 0.9334 MB / 406.7 MB, free: 7.516 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.08419, allocations: 53 kB / 406.8 MB, free: 7.461 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002784/0.08448, allocations: 262.7 kB / 407 MB, free: 7.203 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002724/0.08476, allocations: 246.8 kB / 407.3 MB, free: 6.961 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.999e-05/0.0848, allocations: 15.94 kB / 407.3 MB, free: 6.945 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004206/0.08523, allocations: 239.8 kB / 407.5 MB, free: 6.711 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.293e-05/0.08529, allocations: 55.66 kB / 407.6 MB, free: 6.656 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002025/0.0855, allocations: 256.4 kB / 407.8 MB, free: 6.398 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006739/0.08618, allocations: 0.6738 MB / 408.5 MB, free: 5.723 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.08619, allocations: 0 / 408.5 MB, free: 5.723 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.0862, allocations: 0 / 408.5 MB, free: 5.723 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.08621, allocations: 8 kB / 408.5 MB, free: 5.715 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.00194/0.08816, allocations: 0.8538 MB / 409.3 MB, free: 4.812 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.0882, allocations: 15.97 kB / 409.4 MB, free: 4.797 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.492e-05/0.08828, allocations: 66.72 kB / 409.4 MB, free: 4.723 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002788/0.08857, allocations: 76.34 kB / 409.5 MB, free: 4.648 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000552/0.08913, allocations: 412.4 kB / 409.9 MB, free: 4.199 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.08916, allocations: 25.12 kB / 409.9 MB, free: 4.176 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.039e-05/0.08922, allocations: 32 kB / 410 MB, free: 4.145 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005073/0.08973, allocations: 361 kB / 410.3 MB, free: 3.766 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.08975, allocations: 3.938 kB / 410.3 MB, free: 3.762 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.941e-05/0.08979, allocations: 12 kB / 410.3 MB, free: 3.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.0898, allocations: 8 kB / 410.3 MB, free: 3.742 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000444/0.09025, allocations: 298.4 kB / 410.6 MB, free: 3.449 MB / 302.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.001926/0.09218, allocations: 2.313 MB / 412.9 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008297/0.09302, allocations: 452.6 kB / 413.4 MB, free: 384 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.0932, allocations: 113.4 kB / 413.5 MB, free: 268 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.145e-05/0.09324, allocations: 4 kB / 413.5 MB, free: 264 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.09327, allocations: 43.5 kB / 413.5 MB, free: 212 kB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 1.523e-06/0.09328, allocations: 0 / 413.5 MB, free: 212 kB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002076/0.09536, allocations: 0.7327 MB / 414.3 MB, free: 15.45 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.0954, allocations: 55.41 kB / 414.3 MB, free: 15.38 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002936/0.0957, allocations: 313.7 kB / 414.6 MB, free: 15.07 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/0.09574, allocations: 33.7 kB / 414.7 MB, free: 15.03 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.09588, allocations: 212.2 kB / 414.9 MB, free: 14.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.393e-05/0.09597, allocations: 130.1 kB / 415 MB, free: 14.69 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/0.09602, allocations: 29.7 kB / 415 MB, free: 14.65 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.09615, allocations: 350.7 kB / 415.4 MB, free: 14.3 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.09629, allocations: 87.97 kB / 415.5 MB, free: 14.21 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.09647, allocations: 140.7 kB / 415.6 MB, free: 14.06 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003382/0.09681, allocations: 255.6 kB / 415.8 MB, free: 13.8 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.09682, allocations: 0 / 415.8 MB, free: 13.8 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009269/0.09775, allocations: 445.2 kB / 416.3 MB, free: 13.35 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.09778, allocations: 8 kB / 416.3 MB, free: 13.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.09779, allocations: 3.938 kB / 416.3 MB, free: 13.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006605/0.09846, allocations: 148.8 kB / 416.4 MB, free: 13.19 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/0.09873, allocations: 67.84 kB / 416.5 MB, free: 13.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002482/0.1012, allocations: 2.019 MB / 418.5 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002557/0.1015, allocations: 35.67 kB / 418.6 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.1015, allocations: 12 kB / 418.6 MB, free: 10.94 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (30): * Single equations (assignments): 29 * 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 {(2,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0001721/0.1017, allocations: 169.7 kB / 418.7 MB, free: 10.76 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.318e-05/0.1018, allocations: 39.53 kB / 418.8 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009609/0.1027, allocations: 451.1 kB / 419.2 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.1028, allocations: 7.938 kB / 419.2 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.1028, allocations: 0 / 419.2 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1028, allocations: 112 / 419.2 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001426/0.1042, allocations: 0.9823 MB / 420.2 MB, free: 9.211 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.1042, allocations: 4 kB / 420.2 MB, free: 9.207 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002293/0.1044, allocations: 51.97 kB / 420.3 MB, free: 9.156 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000609/0.1051, allocations: 148.7 kB / 420.4 MB, free: 9.008 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.1051, allocations: 8 kB / 420.4 MB, free: 9 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002209/0.1073, allocations: 1.995 MB / 422.4 MB, free: 6.863 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1073, allocations: 0 / 422.4 MB, free: 6.863 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009032/0.1082, allocations: 0.5116 MB / 422.9 MB, free: 6.332 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001482/0.1084, allocations: 132.7 kB / 423 MB, free: 6.184 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.786e-05/0.1084, allocations: 7.938 kB / 423.1 MB, free: 6.176 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.1087, allocations: 23.84 kB / 423.1 MB, free: 6.152 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.521e-05/0.1087, allocations: 27.95 kB / 423.1 MB, free: 6.125 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.1087, allocations: 8 kB / 423.1 MB, free: 6.117 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000213/0.109, allocations: 223.2 kB / 423.3 MB, free: 5.902 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.109, allocations: 0 / 423.3 MB, free: 5.902 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004856/0.1095, allocations: 144 kB / 423.5 MB, free: 5.762 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 (24): * Single equations (assignments): 23 * 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 {(2,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001245/0.1107, allocations: 1.106 MB / 424.6 MB, free: 4.625 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000678/0.1114, allocations: 426.5 kB / 425 MB, free: 4.195 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1114, allocations: 0 / 425 MB, free: 4.195 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004038/0.1118, allocations: 307.1 kB / 425.3 MB, free: 3.883 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/0.1123, allocations: 57.59 kB / 425.3 MB, free: 3.824 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.004635/0.1169, allocations: 3.539 MB / 428.9 MB, free: 184 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.14/0.2569, allocations: 0.7985 MB / 429.7 MB, free: 35.96 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002344/0.2572, allocations: 40.22 kB / 429.7 MB, free: 35.96 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.2574, allocations: 114.5 kB / 429.8 MB, free: 35.96 MB / 318.1 MB Notification: Performance of SimCode: time 1.142e-06/0.2574, allocations: 3.938 kB / 429.8 MB, free: 35.96 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02181/0.2792, allocations: 9.072 MB / 438.9 MB, free: 34.21 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001391/0.2794, allocations: 211.9 kB / 439.1 MB, free: 33.95 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.464/2.744, allocations: 7.938 kB / 439.1 MB, free: 33.95 MB / 318.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_OneBusOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_OneBusOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusOneLoad_res.mat","../files/PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches