Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.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.OneBusImpedanceOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad",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.0009351/0.0009353, allocations: 97.64 kB / 15.36 MB, free: 0.7305 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.0009447/0.0009447, allocations: 171.7 kB / 16.26 MB, free: 6.664 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.21/1.21, allocations: 205.4 MB / 222.5 MB, free: 5.805 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05385/0.05385, allocations: 14.16 MB / 284.9 MB, free: 7.277 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.0004267/0.0004268, allocations: 19.98 kB / 346.9 MB, free: 19.48 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06408/0.06452, allocations: 51.11 MB / 398 MB, free: 340 kB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad): time 0.003174/0.06772, allocations: 3.919 MB / 401.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002468/0.07021, allocations: 2.408 MB / 404.3 MB, free: 9.969 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.07035, allocations: 11.94 kB / 404.3 MB, free: 9.957 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004146/0.07077, allocations: 211.1 kB / 404.5 MB, free: 9.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001682/0.07246, allocations: 1.034 MB / 405.6 MB, free: 8.719 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003699/0.07284, allocations: 231.4 kB / 405.8 MB, free: 8.492 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000851/0.0737, allocations: 0.9339 MB / 406.7 MB, free: 7.555 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.07383, allocations: 57.05 kB / 406.8 MB, free: 7.496 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002367/0.07407, allocations: 250.7 kB / 407 MB, free: 7.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002506/0.07433, allocations: 258.8 kB / 407.3 MB, free: 6.996 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.807e-05/0.07436, allocations: 12 kB / 407.3 MB, free: 6.984 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003516/0.07472, allocations: 239.8 kB / 407.5 MB, free: 6.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.157e-05/0.07477, allocations: 55.58 kB / 407.6 MB, free: 6.695 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001833/0.07496, allocations: 268.4 kB / 407.8 MB, free: 6.426 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005897/0.07556, allocations: 0.6738 MB / 408.5 MB, free: 5.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.07557, allocations: 7.938 kB / 408.5 MB, free: 5.742 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.07558, allocations: 0 / 408.5 MB, free: 5.742 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.89e-06/0.07559, allocations: 0 / 408.5 MB, free: 5.742 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.001826/0.07742, allocations: 0.8616 MB / 409.4 MB, free: 4.832 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.07746, allocations: 8.031 kB / 409.4 MB, free: 4.824 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.325e-05/0.07752, allocations: 70.72 kB / 409.5 MB, free: 4.746 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002608/0.07779, allocations: 72.34 kB / 409.5 MB, free: 4.676 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005164/0.07831, allocations: 416.4 kB / 409.9 MB, free: 4.223 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.07835, allocations: 29.12 kB / 410 MB, free: 4.195 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.363e-05/0.0784, allocations: 32 kB / 410 MB, free: 4.164 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004559/0.07886, allocations: 346.4 kB / 410.3 MB, free: 3.809 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.07887, allocations: 0 / 410.3 MB, free: 3.809 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.07891, allocations: 12 kB / 410.3 MB, free: 3.797 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.07892, allocations: 8 kB / 410.3 MB, free: 3.789 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004261/0.07935, allocations: 314.4 kB / 410.7 MB, free: 3.48 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.001688/0.08105, allocations: 2.144 MB / 412.8 MB, free: 1.043 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008367/0.08189, allocations: 0.548 MB / 413.3 MB, free: 464 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.08207, allocations: 121.5 kB / 413.5 MB, free: 340 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.0821, allocations: 4 kB / 413.5 MB, free: 336 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.08213, allocations: 42.31 kB / 413.5 MB, free: 284 kB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 1.332e-06/0.08213, allocations: 0 / 413.5 MB, free: 284 kB / 302.1 MB Notification: Performance of matching and sorting (n=37): time 0.001948/0.08409, allocations: 0.748 MB / 414.3 MB, free: 15.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.08413, allocations: 55.41 kB / 414.3 MB, free: 15.43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002597/0.08439, allocations: 300.6 kB / 414.6 MB, free: 15.14 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.08442, allocations: 29.7 kB / 414.6 MB, free: 15.1 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.08455, allocations: 196.3 kB / 414.8 MB, free: 14.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.822e-05/0.08464, allocations: 130.1 kB / 415 MB, free: 14.78 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.641e-05/0.08469, allocations: 37.7 kB / 415 MB, free: 14.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.888e-05/0.08479, allocations: 346.8 kB / 415.3 MB, free: 14.39 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.08493, allocations: 89.72 kB / 415.4 MB, free: 14.3 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.08508, allocations: 123.2 kB / 415.5 MB, free: 14.18 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003078/0.0854, allocations: 234 kB / 415.8 MB, free: 13.94 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.08541, allocations: 3.938 kB / 415.8 MB, free: 13.94 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008616/0.08627, allocations: 445.6 kB / 416.2 MB, free: 13.49 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.0863, allocations: 4 kB / 416.2 MB, free: 13.49 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.08631, allocations: 0 / 416.2 MB, free: 13.49 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006526/0.08696, allocations: 168.5 kB / 416.4 MB, free: 13.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002555/0.08723, allocations: 72.14 kB / 416.4 MB, free: 13.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002481/0.08972, allocations: 2.058 MB / 418.5 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/0.08993, allocations: 19.84 kB / 418.5 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.08996, allocations: 12 kB / 418.5 MB, free: 11.04 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (29): * Single equations (assignments): 28 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001421/0.09011, allocations: 166.9 kB / 418.7 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.067e-05/0.09018, allocations: 43.47 kB / 418.7 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009268/0.09111, allocations: 463.1 kB / 419.2 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.09112, allocations: 4 kB / 419.2 MB, free: 10.35 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.09113, allocations: 3.938 kB / 419.2 MB, free: 10.35 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.09114, allocations: 3.984 kB / 419.2 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/0.09254, allocations: 1.063 MB / 420.3 MB, free: 9.195 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.09256, allocations: 0 / 420.3 MB, free: 9.195 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/0.0928, allocations: 63.97 kB / 420.3 MB, free: 9.133 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005891/0.09339, allocations: 156.6 kB / 420.5 MB, free: 8.977 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.09342, allocations: 12 kB / 420.5 MB, free: 8.965 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002192/0.09562, allocations: 2.015 MB / 422.5 MB, free: 6.816 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.09563, allocations: 0 / 422.5 MB, free: 6.816 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008645/0.0965, allocations: 0.5264 MB / 423 MB, free: 6.27 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.09663, allocations: 140.6 kB / 423.2 MB, free: 6.113 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.648e-05/0.09667, allocations: 12 kB / 423.2 MB, free: 6.102 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.09689, allocations: 15.84 kB / 423.2 MB, free: 6.086 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.994e-05/0.09694, allocations: 27.95 kB / 423.2 MB, free: 6.059 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.09697, allocations: 8 kB / 423.2 MB, free: 6.051 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000177/0.09715, allocations: 215.1 kB / 423.4 MB, free: 5.84 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09715, allocations: 0 / 423.4 MB, free: 5.84 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003923/0.09755, allocations: 139.9 kB / 423.6 MB, free: 5.703 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 (26): * Single equations (assignments): 25 * 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,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001156/0.09871, allocations: 1.119 MB / 424.7 MB, free: 4.551 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007823/0.09951, allocations: 474 kB / 425.2 MB, free: 4.074 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.09952, allocations: 3.938 kB / 425.2 MB, free: 4.07 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005628/0.1001, allocations: 354.4 kB / 425.5 MB, free: 3.711 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003903/0.1005, allocations: 57.27 kB / 425.6 MB, free: 3.656 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.0042/0.1047, allocations: 3.51 MB / 429.1 MB, free: 56 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1263/0.231, allocations: 0.8008 MB / 429.9 MB, free: 36.36 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001993/0.2312, allocations: 40.72 kB / 429.9 MB, free: 36.36 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/0.2314, allocations: 116.8 kB / 430 MB, free: 36.36 MB / 318.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2314, allocations: 0 / 430 MB, free: 36.36 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.581/0.8124, allocations: 9.085 MB / 439.1 MB, free: 34.62 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001475/0.8126, allocations: 240.4 kB / 439.3 MB, free: 34.35 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.855/2.667, allocations: 4 kB / 439.4 MB, free: 34.35 MB / 318.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusImpedanceOneLoad_res.mat","../files/PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches