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.001502/0.001502, allocations: 108.3 kB / 16.92 MB, free: 5.754 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.001394/0.001394, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.277/1.277, allocations: 222.9 MB / 241.5 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1893/0.1893, allocations: 38.03 MB / 329.7 MB, free: 8.863 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 68.67 kB / 398.9 MB, free: 33.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08947/0.09069, allocations: 58.07 MB / 457 MB, free: 7.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.006162/0.09689, allocations: 4.56 MB / 461.5 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002033/0.09895, allocations: 1.309 MB / 462.8 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002537/0.09924, allocations: 11.94 kB / 462.9 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.1004, allocations: 402.3 kB / 463.3 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005746/0.1009, allocations: 250.8 kB / 463.5 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004671/0.1014, allocations: 171.6 kB / 463.7 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006877/0.1021, allocations: 0.5569 MB / 464.2 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004933/0.1026, allocations: 293.2 kB / 464.5 MB, free: 424 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005075/0.1031, allocations: 251 kB / 464.8 MB, free: 172 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005883/0.1038, allocations: 279.1 kB / 465 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.635e-05/0.1038, allocations: 32 kB / 465.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003107/0.1042, allocations: 127.6 kB / 465.2 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002154/0.1044, allocations: 191.5 kB / 465.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002791/0.1047, allocations: 222.9 kB / 465.6 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005934/0.1053, allocations: 0.5061 MB / 466.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1053, allocations: 0 / 466.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1053, allocations: 0 / 466.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.801e-05/0.1053, allocations: 0 / 466.1 MB, free: 14.82 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.001208/0.1065, allocations: 0.7029 MB / 466.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.1066, allocations: 15.89 kB / 466.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.127e-05/0.1067, allocations: 74.72 kB / 466.9 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005965/0.1073, allocations: 84.41 kB / 467 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006133/0.1079, allocations: 391.2 kB / 467.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.1079, allocations: 29.31 kB / 467.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.1081, allocations: 47.92 kB / 467.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006995/0.1088, allocations: 476.8 kB / 467.9 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.1088, allocations: 3.938 kB / 467.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.648e-05/0.1088, allocations: 19.94 kB / 467.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001063/0.109, allocations: 24.98 kB / 467.9 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000552/0.1095, allocations: 347.7 kB / 468.3 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002163/0.1117, allocations: 1.737 MB / 470 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002691/0.112, allocations: 157 kB / 470.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.1121, allocations: 117.7 kB / 470.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.1122, allocations: 0 / 470.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.1122, allocations: 38.56 kB / 470.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/0.1122, allocations: 0 / 470.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001416/0.1136, allocations: 0.8805 MB / 471.2 MB, free: 9.352 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.1137, allocations: 81.11 kB / 471.3 MB, free: 9.254 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003056/0.114, allocations: 308.5 kB / 471.6 MB, free: 8.945 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.114, allocations: 33.7 kB / 471.6 MB, free: 8.906 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.1142, allocations: 255.4 kB / 471.9 MB, free: 8.652 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.547e-05/0.1143, allocations: 59.11 kB / 471.9 MB, free: 8.594 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.777e-05/0.1143, allocations: 58.11 kB / 472 MB, free: 8.527 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.1145, allocations: 350.7 kB / 472.3 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.1147, allocations: 96.22 kB / 472.4 MB, free: 8.082 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.1149, allocations: 209.2 kB / 472.6 MB, free: 7.832 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004142/0.1153, allocations: 322.9 kB / 472.9 MB, free: 7.473 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.1153, allocations: 4 kB / 472.9 MB, free: 7.469 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008304/0.1162, allocations: 477 kB / 473.4 MB, free: 6.996 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.1162, allocations: 10.53 kB / 473.4 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000574/0.1168, allocations: 315.2 kB / 473.7 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004566/0.1172, allocations: 136.7 kB / 473.9 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.1174, allocations: 59.91 kB / 473.9 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002716/0.1202, allocations: 2.443 MB / 476.4 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/0.1203, allocations: 24.05 kB / 476.4 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.1204, allocations: 12 kB / 476.4 MB, free: 3.871 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.0001937/0.1206, allocations: 193.7 kB / 476.6 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.721e-05/0.1206, allocations: 31.62 kB / 476.6 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004067/0.1211, allocations: 265.3 kB / 476.9 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1211, allocations: 4 kB / 476.9 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.1211, allocations: 0 / 476.9 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1211, allocations: 0 / 476.9 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.1222, allocations: 0.7351 MB / 477.6 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1222, allocations: 0 / 477.6 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002069/0.1224, allocations: 39.92 kB / 477.6 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.433e-05/0.1225, allocations: 36.83 kB / 477.7 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.1225, allocations: 8 kB / 477.7 MB, free: 2.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1225, allocations: 0 / 477.7 MB, free: 2.477 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1225, allocations: 0 / 477.7 MB, free: 2.477 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005369/0.1231, allocations: 450.3 kB / 478.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.133e-05/0.1232, allocations: 108.8 kB / 478.2 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.059e-05/0.1232, allocations: 7.938 kB / 478.2 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.1234, allocations: 15.92 kB / 478.3 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.1234, allocations: 11.98 kB / 478.3 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.1234, allocations: 8 kB / 478.3 MB, free: 1.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001979/0.1236, allocations: 219.1 kB / 478.5 MB, free: 1.629 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1236, allocations: 0 / 478.5 MB, free: 1.629 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004254/0.1241, allocations: 88 kB / 478.6 MB, free: 1.543 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.0007633/0.1248, allocations: 0.9798 MB / 479.6 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000662/0.1255, allocations: 428.7 kB / 480 MB, free: 100 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1255, allocations: 0 / 480 MB, free: 100 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002058/0.1257, allocations: 181.9 kB / 480.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004508/0.1262, allocations: 65.8 kB / 480.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004346/0.1305, allocations: 3.571 MB / 483.8 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004298/0.131, allocations: 0.8419 MB / 484.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001972/0.1312, allocations: 66.91 kB / 484.7 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.1314, allocations: 123.4 kB / 484.8 MB, free: 11.02 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1314, allocations: 0 / 484.8 MB, free: 11.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02822/0.1596, allocations: 7.23 MB / 492 MB, free: 3.938 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.13, allocations: 3.625 kB / 492.1 MB, free: 3.938 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