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.0008216/0.0008258, allocations: 95.33 kB / 16.3 MB, free: 6.133 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.000831/0.000831, allocations: 179 kB / 17.2 MB, free: 6.016 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.189/1.189, allocations: 223.2 MB / 241.1 MB, free: 284 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.161/0.161, allocations: 38.09 MB / 330.3 MB, free: 8.949 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002583/0.0002583, allocations: 9.312 kB / 400 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08384/0.08411, allocations: 59.16 MB / 459.1 MB, free: 7.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.00445/0.08859, allocations: 4.548 MB / 463.7 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001911/0.09053, allocations: 1.442 MB / 465.1 MB, free: 1.418 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/0.09072, allocations: 27.81 kB / 465.2 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002506/0.09098, allocations: 99.38 kB / 465.3 MB, free: 1.293 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004115/0.0914, allocations: 215.4 kB / 465.5 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003721/0.09178, allocations: 171.6 kB / 465.6 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003043/0.0921, allocations: 299.4 kB / 465.9 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000739/0.09284, allocations: 0.5393 MB / 466.5 MB, free: 48 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002415/0.0931, allocations: 183.5 kB / 466.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002502/0.09336, allocations: 179.3 kB / 466.8 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.367e-05/0.0934, allocations: 16 kB / 466.8 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001788/0.09359, allocations: 75.88 kB / 466.9 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.09373, allocations: 155.6 kB / 467.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.504e-05/0.09382, allocations: 101.5 kB / 467.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003643/0.09419, allocations: 402.8 kB / 467.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.0942, allocations: 0 / 467.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.09421, allocations: 0 / 467.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.09422, allocations: 4 kB / 467.6 MB, free: 14.95 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.0009444/0.09517, allocations: 0.6442 MB / 468.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.09521, allocations: 8.031 kB / 468.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006318/0.09585, allocations: 95.36 kB / 468.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006078/0.09647, allocations: 387 kB / 468.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/0.09651, allocations: 28.98 kB / 468.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.09663, allocations: 55.78 kB / 468.8 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006238/0.09726, allocations: 464.8 kB / 469.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.09729, allocations: 0 / 469.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.769e-05/0.09733, allocations: 27.86 kB / 469.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001059/0.09745, allocations: 28.98 kB / 469.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004698/0.09792, allocations: 335.7 kB / 469.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001974/0.0999, allocations: 1.633 MB / 471.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003281/0.1002, allocations: 169.1 kB / 471.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.1003, allocations: 4.062 kB / 471.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.1003, allocations: 38.56 kB / 471.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.442e-06/0.1003, allocations: 4 kB / 471.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001154/0.1015, allocations: 0.772 MB / 472.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.1016, allocations: 85.05 kB / 472.3 MB, free: 9.887 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/0.1018, allocations: 308.4 kB / 472.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.1019, allocations: 25.83 kB / 472.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.102, allocations: 263.5 kB / 472.9 MB, free: 9.281 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.144e-05/0.1021, allocations: 71.02 kB / 472.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.28e-05/0.1021, allocations: 4 kB / 473 MB, free: 9.207 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.1022, allocations: 342.8 kB / 473.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.1024, allocations: 95.94 kB / 473.4 MB, free: 8.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.1026, allocations: 193 kB / 473.6 MB, free: 8.535 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.1028, allocations: 136 kB / 473.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1028, allocations: 4 kB / 473.7 MB, free: 8.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007026/0.1035, allocations: 426.5 kB / 474.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1035, allocations: 4 kB / 474.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004409/0.1039, allocations: 258.7 kB / 474.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003021/0.1043, allocations: 81.12 kB / 474.5 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002317/0.1045, allocations: 63.91 kB / 474.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001404/0.1059, allocations: 1.613 MB / 476.1 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.1061, allocations: 12 kB / 476.1 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.1061, allocations: 16 kB / 476.2 MB, free: 5.793 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.0001905/0.1063, allocations: 189.7 kB / 476.3 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.547e-05/0.1064, allocations: 35.62 kB / 476.4 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003964/0.1068, allocations: 271.5 kB / 476.6 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1068, allocations: 4 kB / 476.6 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.1068, allocations: 0 / 476.6 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.1068, allocations: 3.953 kB / 476.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.1079, allocations: 0.7605 MB / 477.4 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1079, allocations: 0 / 477.4 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002506/0.1082, allocations: 48.05 kB / 477.5 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.1082, allocations: 4 kB / 477.5 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.1082, allocations: 7.984 kB / 477.5 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1082, allocations: 4 kB / 477.5 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1082, allocations: 0 / 477.5 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005382/0.1087, allocations: 494.5 kB / 478 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.208e-05/0.1088, allocations: 108.6 kB / 478.1 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.93e-05/0.1089, allocations: 8 kB / 478.1 MB, free: 3.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.109, allocations: 8.031 kB / 478.1 MB, free: 3.738 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.338e-05/0.1091, allocations: 11.98 kB / 478.1 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.1091, allocations: 8 kB / 478.1 MB, free: 3.719 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001813/0.1093, allocations: 223 kB / 478.3 MB, free: 3.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1093, allocations: 0 / 478.3 MB, free: 3.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003632/0.1097, allocations: 84 kB / 478.4 MB, free: 3.418 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.0001033/0.1098, allocations: 99.19 kB / 478.5 MB, free: 3.309 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006254/0.1104, allocations: 382 kB / 478.9 MB, free: 2.926 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1104, allocations: 0 / 478.9 MB, free: 2.926 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.1105, allocations: 99.83 kB / 479 MB, free: 2.828 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.1109, allocations: 53.41 kB / 479 MB, free: 2.777 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.1122, allocations: 1.122 MB / 480.1 MB, free: 1.621 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.1126, allocations: 0.858 MB / 481 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001823/0.1128, allocations: 74.89 kB / 481.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.596e-05/0.1128, allocations: 31.44 kB / 481.1 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1128, allocations: 4 kB / 481.1 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of Templates: time 0.006366/0.1192, allocations: 3.206 MB / 484.3 MB, free: 13.45 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