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.001139/0.001139, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001164/0.001164, allocations: 198.1 kB / 16.14 MB, free: 6.703 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.134/1.134, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05456/0.05456, allocations: 14.17 MB / 283.5 MB, free: 7.301 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.001229/0.001229, allocations: 67.27 kB / 344.5 MB, free: 19.73 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06275/0.06399, allocations: 50.14 MB / 394.6 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad): time 0.00579/0.06981, allocations: 7.143 MB / 401.8 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003943/0.07378, allocations: 3.425 MB / 405.2 MB, free: 6.945 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002653/0.07406, allocations: 23.88 kB / 405.2 MB, free: 6.922 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006329/0.07471, allocations: 326.6 kB / 405.5 MB, free: 6.602 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002345/0.07707, allocations: 1.415 MB / 407 MB, free: 5.191 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004853/0.07756, allocations: 291.2 kB / 407.2 MB, free: 4.906 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001673/0.07924, allocations: 1.861 MB / 409.1 MB, free: 3.039 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.07945, allocations: 118.2 kB / 409.2 MB, free: 2.914 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005773/0.08004, allocations: 0.4897 MB / 409.7 MB, free: 2.422 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005168/0.08056, allocations: 0.521 MB / 410.2 MB, free: 1.898 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.106e-05/0.08064, allocations: 28 kB / 410.3 MB, free: 1.871 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005109/0.08116, allocations: 279.8 kB / 410.5 MB, free: 1.598 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.979e-05/0.08126, allocations: 115.2 kB / 410.6 MB, free: 1.484 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003931/0.08166, allocations: 481.3 kB / 411.1 MB, free: 1.012 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.08268, allocations: 1.242 MB / 412.3 MB, free: 15.76 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.165e-06/0.08269, allocations: 0 / 412.3 MB, free: 15.76 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.71e-07/0.0827, allocations: 0 / 412.3 MB, free: 15.76 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.08272, allocations: 0 / 412.3 MB, free: 15.76 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.003531/0.08625, allocations: 1.532 MB / 413.9 MB, free: 14.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.08629, allocations: 12.03 kB / 413.9 MB, free: 14.17 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001036/0.0864, allocations: 106.7 kB / 414 MB, free: 14.05 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005179/0.08693, allocations: 159.6 kB / 414.2 MB, free: 13.9 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008925/0.08783, allocations: 0.6484 MB / 414.8 MB, free: 13.21 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.464e-05/0.08787, allocations: 46 kB / 414.8 MB, free: 13.17 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.084e-05/0.08795, allocations: 64 kB / 414.9 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009546/0.08891, allocations: 0.6669 MB / 415.6 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.08894, allocations: 4 kB / 415.6 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.113e-05/0.08899, allocations: 24 kB / 415.6 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.08901, allocations: 23.88 kB / 415.6 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009705/0.08998, allocations: 0.6388 MB / 416.3 MB, free: 11.72 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.00321/0.0932, allocations: 4.079 MB / 420.3 MB, free: 7.102 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001283/0.09449, allocations: 1.159 MB / 421.5 MB, free: 5.816 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003855/0.09489, allocations: 281.6 kB / 421.8 MB, free: 5.535 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.597e-05/0.09495, allocations: 11.98 kB / 421.8 MB, free: 5.523 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.09498, allocations: 50.84 kB / 421.8 MB, free: 5.465 MB / 318.1 MB Notification: Performance of pre-optimization done (n=78): time 3.467e-06/0.09498, allocations: 0 / 421.8 MB, free: 5.465 MB / 318.1 MB Notification: Performance of matching and sorting (n=78): time 0.003544/0.09853, allocations: 1.427 MB / 423.3 MB, free: 3.988 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.09859, allocations: 93.05 kB / 423.4 MB, free: 3.879 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000465/0.09906, allocations: 495.1 kB / 423.8 MB, free: 3.387 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.09911, allocations: 37.7 kB / 423.9 MB, free: 3.344 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.0993, allocations: 332.5 kB / 424.2 MB, free: 3.012 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.09949, allocations: 268 kB / 424.5 MB, free: 2.746 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.09965, allocations: 118.6 kB / 424.6 MB, free: 2.625 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.09978, allocations: 370.8 kB / 424.9 MB, free: 2.254 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003452/0.1001, allocations: 201.9 kB / 425.1 MB, free: 2.059 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003638/0.1005, allocations: 261.3 kB / 425.4 MB, free: 1.793 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007238/0.1012, allocations: 0.4915 MB / 425.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1012, allocations: 0 / 425.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001791/0.103, allocations: 0.8602 MB / 426.7 MB, free: 424 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.1031, allocations: 4 kB / 426.7 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.1031, allocations: 0 / 426.7 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001136/0.1042, allocations: 285.3 kB / 427 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004613/0.1047, allocations: 123.8 kB / 427.1 MB, free: 4 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1109/0.2156, allocations: 3.867 MB / 431 MB, free: 35.19 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005254/0.2161, allocations: 52.69 kB / 431.1 MB, free: 35.19 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.521e-05/0.2162, allocations: 24 kB / 431.1 MB, free: 35.19 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.0002429/0.2164, allocations: 222.9 kB / 431.3 MB, free: 35.07 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.2166, allocations: 74.62 kB / 431.4 MB, free: 35.06 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001754/0.2183, allocations: 0.8912 MB / 432.3 MB, free: 34.71 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.2183, allocations: 11 kB / 432.3 MB, free: 34.71 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.2183, allocations: 1.812 kB / 432.3 MB, free: 34.71 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.2184, allocations: 4.438 kB / 432.3 MB, free: 34.71 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.002615/0.221, allocations: 2.108 MB / 434.4 MB, free: 33.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.221, allocations: 1.156 kB / 434.4 MB, free: 33.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004077/0.2214, allocations: 118.8 kB / 434.5 MB, free: 33.39 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001019/0.2224, allocations: 273.4 kB / 434.8 MB, free: 33.34 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.31e-05/0.2225, allocations: 12.17 kB / 434.8 MB, free: 33.33 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003314/0.2258, allocations: 3.8 MB / 438.6 MB, free: 30.14 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2258, allocations: 0 / 438.6 MB, free: 30.14 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001584/0.2274, allocations: 1.023 MB / 439.6 MB, free: 29.62 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001835/0.2276, allocations: 208.5 kB / 439.8 MB, free: 29.45 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.195e-05/0.2277, allocations: 16.03 kB / 439.8 MB, free: 29.44 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004206/0.2281, allocations: 42.52 kB / 439.9 MB, free: 29.43 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.2282, allocations: 57.42 kB / 439.9 MB, free: 29.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-05/0.2283, allocations: 18.81 kB / 440 MB, free: 29.41 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003141/0.2286, allocations: 345.7 kB / 440.3 MB, free: 29.25 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2286, allocations: 5.094 kB / 440.3 MB, free: 29.25 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007027/0.2293, allocations: 275.4 kB / 440.6 MB, free: 29.22 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.00182/0.2311, allocations: 1.63 MB / 442.2 MB, free: 28.15 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001367/0.2325, allocations: 0.8862 MB / 443.1 MB, free: 27.7 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2325, allocations: 0 / 443.1 MB, free: 27.7 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009242/0.2334, allocations: 0.6551 MB / 443.7 MB, free: 27.3 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005946/0.234, allocations: 100.9 kB / 443.8 MB, free: 27.25 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.007413/0.2415, allocations: 6.097 MB / 449.9 MB, free: 23.71 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.2418, allocations: 0.944 MB / 450.9 MB, free: 23 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003241/0.2421, allocations: 78.11 kB / 451 MB, free: 22.97 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002374/0.2423, allocations: 260.4 kB / 451.2 MB, free: 22.78 MB / 318.1 MB Notification: Performance of SimCode: time 2e-07/0.2423, allocations: 0 / 451.2 MB, free: 22.78 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02322/0.2656, allocations: 16.89 MB / 468.1 MB, free: 9.203 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001325/0.2657, allocations: 232.8 kB / 468.3 MB, free: 8.945 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/2.088, allocations: 0 / 468.3 MB, free: 8.945 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneVariableLoad_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneVariableLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad_res.mat","../files/PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches