Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008915/0.0008915, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009679/0.0009679, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8807/0.8807, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2391/0.2391, allocations: 29.41 MB / 290.1 MB, free: 2.426 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 430.2 MB, free: 13.58 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.694e-05/1.842e-05, allocations: 10.22 kB / 430.2 MB, free: 13.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.0071/0.007118, allocations: 8.911 MB / 439.1 MB, free: 4.621 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004283/0.0114, allocations: 3.369 MB / 442.5 MB, free: 1.242 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005546/0.01196, allocations: 47.62 kB / 442.6 MB, free: 1.195 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001556/0.01351, allocations: 1.083 MB / 443.6 MB, free: 112 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1946/0.2081, allocations: 0.9158 MB / 444.6 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.2091, allocations: 0.5024 MB / 445.1 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001824/0.211, allocations: 1.859 MB / 446.9 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007749/0.2117, allocations: 0.7351 MB / 447.7 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001336/0.2131, allocations: 1.046 MB / 448.7 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008625/0.2139, allocations: 0.8499 MB / 449.5 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.214, allocations: 106.2 kB / 449.7 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007411/0.2148, allocations: 0.5813 MB / 450.2 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003473/0.2151, allocations: 0.6821 MB / 450.9 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003455/0.2155, allocations: 498.9 kB / 451.4 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001387/0.2169, allocations: 1.943 MB / 453.3 MB, free: 42.56 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2169, allocations: 0 / 453.3 MB, free: 42.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.2169, allocations: 0 / 453.3 MB, free: 42.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.882e-05/0.2169, allocations: 0 / 453.3 MB, free: 42.56 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.001771/0.2187, allocations: 1.593 MB / 454.9 MB, free: 41.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.2187, allocations: 13.58 kB / 455 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001228/0.2188, allocations: 178 kB / 455.1 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009119/0.2197, allocations: 317.5 kB / 455.4 MB, free: 41.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.2208, allocations: 0.8651 MB / 456.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.945e-05/0.2209, allocations: 86.19 kB / 456.4 MB, free: 41.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000204/0.2211, allocations: 136.2 kB / 456.5 MB, free: 41.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.2224, allocations: 1.493 MB / 458 MB, free: 40.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.824e-05/0.2224, allocations: 11.27 kB / 458 MB, free: 40.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.92e-05/0.2224, allocations: 40.09 kB / 458.1 MB, free: 40.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001507/0.2226, allocations: 104.2 kB / 458.2 MB, free: 40.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.2237, allocations: 1.255 MB / 459.4 MB, free: 39.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004268/0.228, allocations: 4.871 MB / 464.3 MB, free: 37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006165/0.2286, allocations: 0.5612 MB / 464.9 MB, free: 36.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003299/0.229, allocations: 373.3 kB / 465.2 MB, free: 36.63 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.848e-05/0.229, allocations: 10.38 kB / 465.2 MB, free: 36.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.229, allocations: 48.47 kB / 465.3 MB, free: 36.58 MB / 410.7 MB Notification: Performance of pre-optimization done (n=67): time 3.086e-06/0.229, allocations: 0 / 465.3 MB, free: 36.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=74): time 0.004395/0.2334, allocations: 3.201 MB / 468.5 MB, free: 35.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.2335, allocations: 87.86 kB / 468.6 MB, free: 35.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005769/0.234, allocations: 0.7442 MB / 469.3 MB, free: 34.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.2341, allocations: 40.73 kB / 469.3 MB, free: 34.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002/0.2343, allocations: 0.6069 MB / 470 MB, free: 34.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.2344, allocations: 272.7 kB / 470.2 MB, free: 34.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.2346, allocations: 186.5 kB / 470.4 MB, free: 34.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.752e-05/0.2346, allocations: 414.3 kB / 470.8 MB, free: 33.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003675/0.235, allocations: 384 kB / 471.2 MB, free: 33.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004394/0.2354, allocations: 0.665 MB / 471.8 MB, free: 33.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008781/0.2363, allocations: 1.146 MB / 473 MB, free: 32.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.2363, allocations: 0 / 473 MB, free: 32.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00185/0.2382, allocations: 1.692 MB / 474.7 MB, free: 31.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.2382, allocations: 11.31 kB / 474.7 MB, free: 31.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001443/0.2396, allocations: 1.296 MB / 476 MB, free: 31.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/0.2406, allocations: 0.5726 MB / 476.6 MB, free: 31.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003598/0.241, allocations: 173.4 kB / 476.7 MB, free: 31.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01009/0.2511, allocations: 9.747 MB / 486.5 MB, free: 24.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008834/0.252, allocations: 48.11 kB / 486.5 MB, free: 24.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-05/0.252, allocations: 45.12 kB / 486.6 MB, free: 24.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (93): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,16)} Notification: Performance of prepare postOptimizeDAE: time 0.000727/0.2528, allocations: 392.3 kB / 487 MB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.2529, allocations: 98.11 kB / 487 MB, free: 24.06 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002061/0.255, allocations: 1.233 MB / 488.3 MB, free: 23.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.255, allocations: 7 kB / 488.3 MB, free: 23.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.255, allocations: 4.281 kB / 488.3 MB, free: 23.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.255, allocations: 8.609 kB / 488.3 MB, free: 23.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003823/0.2588, allocations: 2.277 MB / 490.6 MB, free: 22.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.2588, allocations: 2.641 kB / 490.6 MB, free: 22.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004097/0.2592, allocations: 111.8 kB / 490.7 MB, free: 22.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009833/0.2602, allocations: 379 kB / 491.1 MB, free: 22.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.622e-05/0.2603, allocations: 31.28 kB / 491.1 MB, free: 22.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0065/0.2668, allocations: 8.723 MB / 499.8 MB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.2668, allocations: 5.562 kB / 499.8 MB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002972/0.2698, allocations: 1.676 MB / 0.4897 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003574/0.2701, allocations: 154.9 kB / 0.4899 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.126e-05/0.2702, allocations: 24.97 kB / 0.4899 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/0.2705, allocations: 24.45 kB / 0.4899 GB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.2706, allocations: 68.92 kB / 0.49 GB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.39e-05/0.2707, allocations: 27.81 kB / 0.49 GB, free: 14.15 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005871/0.2713, allocations: 0.5038 MB / 0.4905 GB, free: 13.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2713, allocations: 1.094 kB / 0.4905 GB, free: 13.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001257/0.2725, allocations: 365.1 kB / 0.4909 GB, free: 13.91 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 8 (turboGrp.phi,turboGrp.w,generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * 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 (57): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,10,100.0%), (1,3,100.0%), (1,3,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002184/0.2747, allocations: 2.259 MB / 0.4931 GB, free: 12.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001833/0.2765, allocations: 1.528 MB / 0.4946 GB, free: 11.81 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2765, allocations: 0 / 0.4946 GB, free: 11.81 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009109/0.2774, allocations: 1.076 MB / 0.4956 GB, free: 11.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007073/0.2781, allocations: 211.8 kB / 0.4958 GB, free: 11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/0.2895, allocations: 9.755 MB / 0.5053 GB, free: 6.098 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006671/0.2901, allocations: 0.6578 MB / 0.506 GB, free: 5.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004618/0.2906, allocations: 210.8 kB / 0.5062 GB, free: 5.867 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003635/0.291, allocations: 450.4 kB / 0.5066 GB, free: 5.465 MB / 410.7 MB Notification: Performance of SimCode: time 1.683e-06/0.291, allocations: 0 / 0.5066 GB, free: 5.465 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04766/0.3386, allocations: 26.35 MB / 0.5324 GB, free: 12.45 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.442/8.781, allocations: 6.375 kB / 0.5324 GB, free: 12.45 MB / 442.7 MB " [Timeout remaining time 651] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.76151773519814]