Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest",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.001527/0.001527, allocations: 105.2 kB / 17.06 MB, free: 6.027 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.001848/0.001848, allocations: 195 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1755/0.1755, allocations: 38.05 MB / 329.9 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 63.91 kB / 457.6 MB, free: 7.359 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3808/0.3829, allocations: 58.06 MB / 0.5036 GB, free: 7.426 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.005256/0.3882, allocations: 3.418 MB / 0.507 GB, free: 5.055 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001669/0.3899, allocations: 1.447 MB / 0.5084 GB, free: 4.039 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.3901, allocations: 9.812 kB / 0.5084 GB, free: 4.035 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008487/0.3909, allocations: 253 kB / 0.5086 GB, free: 3.883 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006559/0.3916, allocations: 273.7 kB / 0.5089 GB, free: 3.742 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003/0.3919, allocations: 114.1 kB / 0.509 GB, free: 3.684 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000431/0.3923, allocations: 347.7 kB / 0.5093 GB, free: 3.535 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002638/0.3926, allocations: 140.3 kB / 0.5095 GB, free: 3.484 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002084/0.3928, allocations: 150 kB / 0.5096 GB, free: 3.418 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.3931, allocations: 149.3 kB / 0.5097 GB, free: 3.359 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.3931, allocations: 13.69 kB / 0.5097 GB, free: 3.359 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004817/0.3936, allocations: 318.6 kB / 0.5101 GB, free: 3.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.3937, allocations: 99.09 kB / 0.5101 GB, free: 3.199 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.3938, allocations: 108.2 kB / 0.5103 GB, free: 3.137 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000432/0.3942, allocations: 332.4 kB / 0.5106 GB, free: 3.027 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3943, allocations: 1.125 kB / 0.5106 GB, free: 3.027 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3943, allocations: 3.938 kB / 0.5106 GB, free: 3.023 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.3943, allocations: 0 / 0.5106 GB, free: 3.023 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005822/0.3949, allocations: 0.5075 MB / 0.5111 GB, free: 2.562 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.3949, allocations: 13.67 kB / 0.5111 GB, free: 2.559 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.951e-05/0.395, allocations: 59.55 kB / 0.5111 GB, free: 2.504 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007938/0.3958, allocations: 93.81 kB / 0.5112 GB, free: 2.484 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.3961, allocations: 275.3 kB / 0.5115 GB, free: 2.238 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.3962, allocations: 10.97 kB / 0.5115 GB, free: 2.234 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.906e-05/0.3962, allocations: 19.81 kB / 0.5115 GB, free: 2.227 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004837/0.3967, allocations: 317.4 kB / 0.5118 GB, free: 2.055 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.3967, allocations: 4.688 kB / 0.5118 GB, free: 2.051 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/0.3968, allocations: 6.656 kB / 0.5118 GB, free: 2.047 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-05/0.3968, allocations: 14.56 kB / 0.5118 GB, free: 2.047 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004479/0.3972, allocations: 292.3 kB / 0.5121 GB, free: 1.957 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001527/0.3988, allocations: 1.29 MB / 0.5134 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005352/0.3993, allocations: 209.2 kB / 0.5136 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.239e-05/0.3994, allocations: 62.11 kB / 0.5136 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.3995, allocations: 1.156 kB / 0.5136 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.3995, allocations: 41.41 kB / 0.5137 GB, free: 0.793 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.3995, allocations: 0 / 0.5137 GB, free: 0.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.000897/0.4004, allocations: 435.3 kB / 0.5141 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.4004, allocations: 79.25 kB / 0.5142 GB, free: 444 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.4006, allocations: 198.6 kB / 0.5144 GB, free: 308 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.4007, allocations: 30.55 kB / 0.5144 GB, free: 272 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.074e-05/0.4007, allocations: 165.6 kB / 0.5146 GB, free: 120 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.4008, allocations: 41.56 kB / 0.5146 GB, free: 88 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.109e-05/0.4008, allocations: 49.53 kB / 0.5146 GB, free: 52 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.401, allocations: 327.9 kB / 0.515 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.023e-05/0.4011, allocations: 53.08 kB / 0.515 GB, free: 15.71 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.4012, allocations: 150.5 kB / 0.5151 GB, free: 15.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002618/0.4015, allocations: 227.7 kB / 0.5154 GB, free: 15.39 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4015, allocations: 1.156 kB / 0.5154 GB, free: 15.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004812/0.402, allocations: 265.5 kB / 0.5156 GB, free: 15.26 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.402, allocations: 7.906 kB / 0.5156 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.402, allocations: 2.156 kB / 0.5156 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002526/0.4023, allocations: 46.67 kB / 0.5157 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.4024, allocations: 41.98 kB / 0.5157 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/0.4037, allocations: 1.447 MB / 0.5171 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.4038, allocations: 13.33 kB / 0.5171 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.205e-05/0.4038, allocations: 13.64 kB / 0.5172 GB, free: 13.79 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001544/0.404, allocations: 153.8 kB / 0.5173 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.352e-05/0.4041, allocations: 19.12 kB / 0.5173 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003793/0.4044, allocations: 180.3 kB / 0.5175 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.4045, allocations: 2.156 kB / 0.5175 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.4045, allocations: 5.688 kB / 0.5175 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.4045, allocations: 1.688 kB / 0.5175 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009439/0.4054, allocations: 0.5589 MB / 0.518 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.4054, allocations: 5.469 kB / 0.518 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.4056, allocations: 24.5 kB / 0.5181 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001578/0.4057, allocations: 39.31 kB / 0.5181 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.4058, allocations: 2.781 kB / 0.5181 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001077/0.4068, allocations: 1.428 MB / 0.5195 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4069, allocations: 1.406 kB / 0.5195 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004343/0.4073, allocations: 304.1 kB / 0.5198 GB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.582e-05/0.4074, allocations: 92.31 kB / 0.5199 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.4074, allocations: 4.406 kB / 0.5199 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.4075, allocations: 6.375 kB / 0.5199 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.4076, allocations: 17.08 kB / 0.5199 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.4076, allocations: 9.156 kB / 0.5199 GB, free: 11.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001472/0.4078, allocations: 142.8 kB / 0.5201 GB, free: 11.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4078, allocations: 4.438 kB / 0.5201 GB, free: 11.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000424/0.4082, allocations: 48.88 kB / 0.5201 GB, free: 11.22 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007718/0.409, allocations: 0.8375 MB / 0.5209 GB, free: 10.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005262/0.4095, allocations: 273.8 kB / 0.5212 GB, free: 10.29 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.4095, allocations: 1.062 kB / 0.5212 GB, free: 10.29 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002359/0.4098, allocations: 178.6 kB / 0.5214 GB, free: 10.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.4102, allocations: 28.19 kB / 0.5214 GB, free: 10.15 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002795/0.413, allocations: 2.375 MB / 0.5237 GB, free: 8.289 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.4134, allocations: 0.7551 MB / 0.5244 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001151/0.4135, allocations: 40.28 kB / 0.5245 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.733e-05/0.4136, allocations: 59.23 kB / 0.5245 GB, free: 7.539 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4136, allocations: 0 / 0.5245 GB, free: 7.539 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02969/0.4433, allocations: 3.945 MB / 0.5284 GB, free: 6.965 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.582/10.03, allocations: 19.61 kB / 0.5284 GB, free: 6.949 MB / 398.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.ImpedanceTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches