Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.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.AC3ph.Generation.PQsource,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PQsource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PQsource,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PQsource",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.001005/0.001005, allocations: 103.6 kB / 16.62 MB, free: 6.812 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.001525/0.001525, allocations: 193.8 kB / 17.55 MB, free: 5.941 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.307/1.307, allocations: 222.9 MB / 241.2 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1737/0.1737, allocations: 38.04 MB / 329.4 MB, free: 9.066 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 69.23 kB / 398.4 MB, free: 34.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.102, allocations: 58.06 MB / 456.5 MB, free: 8.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.005584/0.1077, allocations: 5.213 MB / 461.7 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002124/0.1098, allocations: 1.496 MB / 463.2 MB, free: 1.621 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003174/0.1101, allocations: 27.81 kB / 463.2 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.1112, allocations: 385.4 kB / 463.6 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005476/0.1117, allocations: 227 kB / 463.8 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004476/0.1122, allocations: 151.8 kB / 463.9 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005946/0.1128, allocations: 0.5607 MB / 464.5 MB, free: 292 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004864/0.1133, allocations: 309.2 kB / 464.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004056/0.1137, allocations: 255 kB / 465 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005004/0.1142, allocations: 303 kB / 465.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.187e-05/0.1143, allocations: 32 kB / 465.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002533/0.1146, allocations: 127.8 kB / 465.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001864/0.1147, allocations: 191.5 kB / 465.7 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002296/0.115, allocations: 218.9 kB / 465.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005111/0.1155, allocations: 0.5177 MB / 466.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1155, allocations: 0 / 466.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1155, allocations: 4 kB / 466.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.1155, allocations: 4 kB / 466.4 MB, free: 14.36 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001081/0.1166, allocations: 0.6913 MB / 467.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.1167, allocations: 15.89 kB / 467.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.126e-05/0.1168, allocations: 74.7 kB / 467.2 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000571/0.1173, allocations: 88.31 kB / 467.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005614/0.1179, allocations: 387.3 kB / 467.7 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.1179, allocations: 25.38 kB / 467.7 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.1181, allocations: 55.81 kB / 467.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006418/0.1187, allocations: 476.8 kB / 468.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.1188, allocations: 4 kB / 468.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.937e-05/0.1188, allocations: 16 kB / 468.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001049/0.1189, allocations: 24.98 kB / 468.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004877/0.1194, allocations: 351.7 kB / 468.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001974/0.1214, allocations: 1.737 MB / 470.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002527/0.1216, allocations: 149.1 kB / 470.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.1218, allocations: 117.9 kB / 470.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.1218, allocations: 7.938 kB / 470.6 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.1219, allocations: 38.56 kB / 470.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.323e-06/0.1219, allocations: 0 / 470.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001334/0.1232, allocations: 0.8799 MB / 471.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.1233, allocations: 85.23 kB / 471.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002716/0.1235, allocations: 312.4 kB / 471.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.1236, allocations: 33.7 kB / 471.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.1237, allocations: 247.5 kB / 472.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.844e-05/0.1238, allocations: 63.09 kB / 472.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.326e-05/0.1239, allocations: 69.81 kB / 472.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.124, allocations: 342.8 kB / 472.7 MB, free: 7.707 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.1241, allocations: 100.2 kB / 472.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/0.1243, allocations: 197.4 kB / 472.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003514/0.1247, allocations: 330.7 kB / 473.3 MB, free: 7.004 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1247, allocations: 0 / 473.3 MB, free: 7.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008068/0.1255, allocations: 475.7 kB / 473.7 MB, free: 6.531 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.1255, allocations: 8 kB / 473.7 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000553/0.1261, allocations: 315.4 kB / 474 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000444/0.1265, allocations: 136.7 kB / 474.2 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.1267, allocations: 55.91 kB / 474.2 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002431/0.1292, allocations: 2.435 MB / 476.7 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.1293, allocations: 12.06 kB / 476.7 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.1294, allocations: 16 kB / 476.7 MB, free: 3.422 MB / 350.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 (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 {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001677/0.1295, allocations: 185.7 kB / 476.9 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.535e-05/0.1296, allocations: 39.55 kB / 476.9 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003877/0.13, allocations: 268.4 kB / 477.2 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.13, allocations: 7.984 kB / 477.2 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.13, allocations: 0 / 477.2 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.13, allocations: 0 / 477.2 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009843/0.131, allocations: 0.739 MB / 477.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.131, allocations: 4.062 kB / 477.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/0.1312, allocations: 39.97 kB / 478 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.203e-05/0.1313, allocations: 36.83 kB / 478 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.1314, allocations: 8 kB / 478 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.1314, allocations: 0 / 478 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.1314, allocations: 7.938 kB / 478 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004761/0.1319, allocations: 438.3 kB / 478.4 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.731e-05/0.1319, allocations: 104.7 kB / 478.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.083e-05/0.132, allocations: 7.938 kB / 478.6 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.1321, allocations: 15.97 kB / 478.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.1322, allocations: 15.92 kB / 478.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.1322, allocations: 4 kB / 478.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001831/0.1324, allocations: 227 kB / 478.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1324, allocations: 0 / 478.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004024/0.1328, allocations: 88 kB / 478.9 MB, free: 1.082 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007131/0.1335, allocations: 0.9751 MB / 479.9 MB, free: 72 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000636/0.1342, allocations: 427 kB / 480.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1342, allocations: 0 / 480.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001863/0.1344, allocations: 189.2 kB / 480.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004489/0.1348, allocations: 65.14 kB / 480.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004116/0.139, allocations: 3.719 MB / 484.3 MB, free: 11.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.1394, allocations: 0.838 MB / 485.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000186/0.1395, allocations: 66.91 kB / 485.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.1397, allocations: 123.4 kB / 485.3 MB, free: 10.42 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1397, allocations: 0 / 485.3 MB, free: 10.42 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.323/1.463, allocations: 7.159 MB / 492.4 MB, free: 3.449 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002286/1.463, allocations: 236.3 kB / 492.7 MB, free: 3.195 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.876/3.339, allocations: 0 / 492.7 MB, free: 3.195 MB / 366.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PQsource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PQsource.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PQsource.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches