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.0007695/0.0007696, allocations: 89.08 kB / 16.31 MB, free: 6.449 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.0007946/0.0007946, allocations: 181.4 kB / 17.21 MB, free: 6.32 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.2/1.2, allocations: 223.3 MB / 241.2 MB, free: 268 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1589/0.1589, allocations: 38.09 MB / 330.4 MB, free: 8.84 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002948/0.0002949, allocations: 8.719 kB / 400.1 MB, free: 34.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09502/0.09533, allocations: 59.16 MB / 459.2 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.005075/0.1005, allocations: 4.708 MB / 463.9 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0022/0.1027, allocations: 1.446 MB / 465.4 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003088/0.103, allocations: 27.81 kB / 465.4 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000312/0.1033, allocations: 103.3 kB / 465.5 MB, free: 1.078 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005603/0.1039, allocations: 262.7 kB / 465.8 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004666/0.1044, allocations: 175.7 kB / 466 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005353/0.1049, allocations: 0.6269 MB / 466.6 MB, free: 20 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007906/0.1057, allocations: 0.5472 MB / 467.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000253/0.106, allocations: 195.1 kB / 467.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003496/0.1063, allocations: 263.1 kB / 467.6 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.629e-05/0.1064, allocations: 20 kB / 467.6 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002079/0.1066, allocations: 91.8 kB / 467.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001578/0.1068, allocations: 167.5 kB / 467.8 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.657e-05/0.1069, allocations: 101.5 kB / 467.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003515/0.1072, allocations: 399 kB / 468.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1072, allocations: 0 / 468.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1072, allocations: 0 / 468.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.361e-06/0.1073, allocations: 0 / 468.3 MB, free: 14.22 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.0008732/0.1081, allocations: 0.6482 MB / 469 MB, free: 13.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.1082, allocations: 8.031 kB / 469 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005429/0.1087, allocations: 87.31 kB / 469.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005248/0.1093, allocations: 387 kB / 469.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.1093, allocations: 32.98 kB / 469.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.1094, allocations: 47.86 kB / 469.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006238/0.11, allocations: 468.8 kB / 470 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.1101, allocations: 7.922 kB / 470 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.193e-05/0.1101, allocations: 15.98 kB / 470 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-05/0.1102, allocations: 28.98 kB / 470 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004874/0.1107, allocations: 343.7 kB / 470.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001946/0.1127, allocations: 1.629 MB / 472 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002967/0.113, allocations: 173.1 kB / 472.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.1131, allocations: 109.7 kB / 472.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.1131, allocations: 4 kB / 472.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.1132, allocations: 34.56 kB / 472.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.262e-06/0.1132, allocations: 4 kB / 472.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001165/0.1144, allocations: 0.7818 MB / 473.1 MB, free: 9.145 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.1144, allocations: 81.11 kB / 473.2 MB, free: 9.047 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002895/0.1147, allocations: 308.4 kB / 473.5 MB, free: 8.734 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.1147, allocations: 29.7 kB / 473.5 MB, free: 8.699 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.1149, allocations: 251.5 kB / 473.8 MB, free: 8.449 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.203e-05/0.1149, allocations: 79.12 kB / 473.8 MB, free: 8.371 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.359e-05/0.115, allocations: 4 kB / 473.8 MB, free: 8.367 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1151, allocations: 342.8 kB / 474.2 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.1152, allocations: 99.88 kB / 474.3 MB, free: 7.926 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00019/0.1154, allocations: 200.9 kB / 474.5 MB, free: 7.684 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.1156, allocations: 134.9 kB / 474.6 MB, free: 7.555 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1156, allocations: 0 / 474.6 MB, free: 7.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007022/0.1163, allocations: 426.7 kB / 475 MB, free: 7.129 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.1164, allocations: 4 kB / 475 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004423/0.1168, allocations: 258.7 kB / 475.3 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002865/0.1171, allocations: 76.78 kB / 475.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.1173, allocations: 67.84 kB / 475.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001483/0.1188, allocations: 1.593 MB / 477 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.119, allocations: 12.06 kB / 477 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.119, allocations: 16 kB / 477 MB, free: 4.969 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001918/0.1192, allocations: 181.7 kB / 477.2 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.001e-05/0.1193, allocations: 31.62 kB / 477.2 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004086/0.1197, allocations: 269.7 kB / 477.5 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1197, allocations: 3.938 kB / 477.5 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.1197, allocations: 4 kB / 477.5 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1197, allocations: 7.953 kB / 477.5 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.1208, allocations: 0.7528 MB / 478.3 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.1208, allocations: 0 / 478.3 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002435/0.121, allocations: 51.97 kB / 478.3 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.1211, allocations: 4 kB / 478.3 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.1211, allocations: 12.06 kB / 478.3 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1211, allocations: 3.938 kB / 478.3 MB, free: 3.586 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.1211, allocations: 3.953 kB / 478.4 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000494/0.1216, allocations: 450.3 kB / 478.8 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.456e-05/0.1217, allocations: 100.7 kB / 478.9 MB, free: 3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.723e-05/0.1217, allocations: 16.03 kB / 478.9 MB, free: 2.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.1219, allocations: 4 kB / 478.9 MB, free: 2.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.18e-05/0.1219, allocations: 23.88 kB / 478.9 MB, free: 2.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.1219, allocations: 4 kB / 478.9 MB, free: 2.953 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001857/0.1221, allocations: 219 kB / 479.2 MB, free: 2.738 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1221, allocations: 0 / 479.2 MB, free: 2.738 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003527/0.1225, allocations: 80 kB / 479.2 MB, free: 2.66 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001022/0.1226, allocations: 110.7 kB / 479.3 MB, free: 2.543 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005569/0.1232, allocations: 373.5 kB / 479.7 MB, free: 2.168 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1232, allocations: 0 / 479.7 MB, free: 2.168 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.1233, allocations: 100.7 kB / 479.8 MB, free: 2.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004334/0.1238, allocations: 77.47 kB / 479.9 MB, free: 1.996 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.1252, allocations: 1.122 MB / 481 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.1256, allocations: 0.8541 MB / 481.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001861/0.1258, allocations: 74.84 kB / 481.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.645e-05/0.1258, allocations: 27.44 kB / 482 MB, free: 15.86 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1258, allocations: 0 / 482 MB, free: 15.86 MB / 366.1 MB Notification: Performance of Templates: time 0.005923/0.1318, allocations: 3.206 MB / 485.2 MB, free: 12.68 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches