Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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: translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 109.3 kB / 16.92 MB, free: 6.145 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.001349/0.001349, allocations: 191.5 kB / 17.85 MB, free: 5.309 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.367/1.367, allocations: 222.9 MB / 241.5 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1701/0.1701, allocations: 38.04 MB / 329.7 MB, free: 8.875 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 54.73 kB / 398.8 MB, free: 34.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1049, allocations: 58.06 MB / 456.9 MB, free: 8.098 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.006773/0.1117, allocations: 4.701 MB / 461.6 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002302/0.114, allocations: 1.355 MB / 462.9 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002995/0.1144, allocations: 15.94 kB / 462.9 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001208/0.1156, allocations: 406.3 kB / 463.3 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000608/0.1162, allocations: 234.8 kB / 463.6 MB, free: 1.363 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004784/0.1167, allocations: 179.6 kB / 463.7 MB, free: 1.188 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006342/0.1173, allocations: 0.549 MB / 464.3 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004989/0.1178, allocations: 341.8 kB / 464.6 MB, free: 312 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004036/0.1183, allocations: 251 kB / 464.9 MB, free: 60 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004549/0.1187, allocations: 275 kB / 465.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.027e-05/0.1188, allocations: 35.94 kB / 465.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002955/0.1191, allocations: 127.7 kB / 465.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001722/0.1193, allocations: 187.5 kB / 465.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002349/0.1195, allocations: 218.9 kB / 465.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005163/0.12, allocations: 0.5217 MB / 466.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1201, allocations: 0 / 466.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1201, allocations: 4 kB / 466.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.1201, allocations: 0 / 466.2 MB, free: 14.7 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001025/0.1211, allocations: 0.7105 MB / 466.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.1212, allocations: 15.97 kB / 466.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006374/0.1218, allocations: 92.3 kB / 467 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005534/0.1224, allocations: 388.1 kB / 467.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.1224, allocations: 29.38 kB / 467.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.1225, allocations: 52.05 kB / 467.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006365/0.1232, allocations: 476.8 kB / 468 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.1232, allocations: 0 / 468 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.672e-05/0.1233, allocations: 19.94 kB / 468 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001044/0.1234, allocations: 28.98 kB / 468 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004935/0.1239, allocations: 339.7 kB / 468.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002091/0.126, allocations: 1.644 MB / 470 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003638/0.1263, allocations: 169.1 kB / 470.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.1265, allocations: 109.7 kB / 470.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.1265, allocations: 11.98 kB / 470.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.1266, allocations: 38.5 kB / 470.3 MB, free: 10.37 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.563e-06/0.1266, allocations: 0 / 470.3 MB, free: 10.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001242/0.1278, allocations: 0.7779 MB / 471.1 MB, free: 9.539 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.1279, allocations: 81.11 kB / 471.2 MB, free: 9.441 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003062/0.1282, allocations: 308.5 kB / 471.5 MB, free: 9.137 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.1282, allocations: 25.83 kB / 471.5 MB, free: 9.105 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.1284, allocations: 255.5 kB / 471.7 MB, free: 8.852 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.152e-05/0.1285, allocations: 78.92 kB / 471.8 MB, free: 8.773 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.863e-05/0.1286, allocations: 65.55 kB / 471.9 MB, free: 8.703 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.1287, allocations: 342.8 kB / 472.2 MB, free: 8.359 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.1289, allocations: 95.94 kB / 472.3 MB, free: 8.266 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.1291, allocations: 196.6 kB / 472.5 MB, free: 8.027 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004335/0.1295, allocations: 335.3 kB / 472.8 MB, free: 7.656 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1295, allocations: 4 kB / 472.8 MB, free: 7.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007662/0.1303, allocations: 429.7 kB / 473.2 MB, free: 7.223 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.1303, allocations: 8 kB / 473.3 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004875/0.1308, allocations: 262.9 kB / 473.5 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003403/0.1312, allocations: 76.91 kB / 473.6 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/0.1314, allocations: 63.91 kB / 473.7 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001572/0.133, allocations: 1.719 MB / 475.4 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.1332, allocations: 8 kB / 475.4 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.1332, allocations: 19.98 kB / 475.4 MB, free: 4.93 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 (34): * Single equations (assignments): 33 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001876/0.1334, allocations: 189.7 kB / 475.6 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.399e-05/0.1335, allocations: 27.69 kB / 475.6 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004155/0.1339, allocations: 282.7 kB / 475.9 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.1339, allocations: 4 kB / 475.9 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.1339, allocations: 0 / 475.9 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1339, allocations: 3.984 kB / 475.9 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.1351, allocations: 0.7498 MB / 476.6 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1351, allocations: 0 / 476.6 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002661/0.1354, allocations: 51.91 kB / 476.7 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1354, allocations: 0 / 476.7 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.1355, allocations: 11.94 kB / 476.7 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-06/0.1355, allocations: 4 kB / 476.7 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1355, allocations: 0 / 476.7 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005482/0.136, allocations: 462.2 kB / 477.2 MB, free: 3.059 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.414e-05/0.1361, allocations: 108.7 kB / 477.3 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.132e-05/0.1362, allocations: 8 kB / 477.3 MB, free: 2.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.1364, allocations: 8 kB / 477.3 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.1364, allocations: 7.984 kB / 477.3 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.1364, allocations: 15.98 kB / 477.3 MB, free: 2.895 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002198/0.1366, allocations: 215.1 kB / 477.5 MB, free: 2.684 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1367, allocations: 7.938 kB / 477.5 MB, free: 2.676 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003861/0.137, allocations: 84 kB / 477.6 MB, free: 2.594 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001099/0.1372, allocations: 107.2 kB / 477.7 MB, free: 2.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000644/0.1378, allocations: 398.5 kB / 478.1 MB, free: 2.082 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1378, allocations: 0 / 478.1 MB, free: 2.082 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.138, allocations: 106.9 kB / 478.2 MB, free: 1.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004699/0.1385, allocations: 71.28 kB / 478.3 MB, free: 1.914 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.1399, allocations: 0.9207 MB / 479.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005372/0.1404, allocations: 0.85 MB / 480 MB, free: 84 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001984/0.1406, allocations: 74.91 kB / 480.1 MB, free: 8 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.472e-05/0.1407, allocations: 23.48 kB / 480.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1407, allocations: 0 / 480.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of Templates: time 0.007243/0.148, allocations: 3.487 MB / 483.6 MB, free: 12.52 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches