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.001021/0.00102, allocations: 90.11 kB / 16.65 MB, free: 6.535 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.001246/0.001246, allocations: 175.5 kB / 17.56 MB, free: 6.18 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.263/1.263, allocations: 223.3 MB / 241.6 MB, free: 188 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1594/0.1594, allocations: 38.08 MB / 330.8 MB, free: 8.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003338/0.0003338, allocations: 8 kB / 400.7 MB, free: 34.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09459/0.09494, allocations: 59.17 MB / 459.9 MB, free: 7.059 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.005431/0.1004, allocations: 4.947 MB / 464.8 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002364/0.1028, allocations: 1.508 MB / 466.3 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003801/0.1032, allocations: 31.81 kB / 466.4 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003514/0.1036, allocations: 83.44 kB / 466.5 MB, free: 468 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005976/0.1042, allocations: 222.9 kB / 466.7 MB, free: 244 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004708/0.1047, allocations: 155.7 kB / 466.8 MB, free: 88 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008221/0.1055, allocations: 0.8025 MB / 467.6 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008961/0.1064, allocations: 0.5912 MB / 468.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003702/0.1068, allocations: 203 kB / 468.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004414/0.1073, allocations: 259 kB / 468.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.034e-05/0.1073, allocations: 19.94 kB / 468.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002787/0.1076, allocations: 131.7 kB / 468.8 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001715/0.1078, allocations: 167.5 kB / 469 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002219/0.108, allocations: 224.6 kB / 469.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005178/0.1085, allocations: 0.506 MB / 469.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1086, allocations: 0 / 469.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1086, allocations: 0 / 469.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.1086, allocations: 0 / 469.7 MB, free: 13.16 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.0009878/0.1096, allocations: 0.6444 MB / 470.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.1096, allocations: 12.03 kB / 470.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006302/0.1102, allocations: 88.3 kB / 470.5 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005551/0.1108, allocations: 400 kB / 470.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.1108, allocations: 21.38 kB / 470.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.111, allocations: 48.11 kB / 470.9 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006559/0.1116, allocations: 492.8 kB / 471.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.1117, allocations: 0 / 471.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.531e-05/0.1117, allocations: 15.98 kB / 471.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.664e-05/0.1118, allocations: 28.98 kB / 471.4 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005325/0.1124, allocations: 339.7 kB / 471.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002012/0.1144, allocations: 1.637 MB / 473.4 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.1147, allocations: 173.1 kB / 473.6 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.1148, allocations: 110 kB / 473.7 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.1149, allocations: 7.969 kB / 473.7 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.1149, allocations: 42.41 kB / 473.7 MB, free: 8.891 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.462e-06/0.1149, allocations: 0 / 473.7 MB, free: 8.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001192/0.1161, allocations: 0.7788 MB / 474.5 MB, free: 8.059 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.1162, allocations: 85.05 kB / 474.6 MB, free: 7.957 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/0.1165, allocations: 308.5 kB / 474.9 MB, free: 7.645 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.1165, allocations: 33.64 kB / 474.9 MB, free: 7.605 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.1167, allocations: 251.5 kB / 475.2 MB, free: 7.355 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.863e-05/0.1167, allocations: 74.92 kB / 475.2 MB, free: 7.281 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.224e-05/0.1168, allocations: 33.7 kB / 475.3 MB, free: 7.242 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1169, allocations: 346.9 kB / 475.6 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.1171, allocations: 95.94 kB / 475.7 MB, free: 6.801 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.1173, allocations: 200.5 kB / 475.9 MB, free: 6.559 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003752/0.1177, allocations: 324.5 kB / 476.2 MB, free: 6.195 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.1177, allocations: 4 kB / 476.2 MB, free: 6.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007312/0.1184, allocations: 427.7 kB / 476.6 MB, free: 5.766 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1184, allocations: 4.438 kB / 476.7 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004656/0.1189, allocations: 274.5 kB / 476.9 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003139/0.1192, allocations: 76.78 kB / 477 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/0.1195, allocations: 59.91 kB / 477.1 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/0.1209, allocations: 1.585 MB / 478.6 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.1211, allocations: 15.91 kB / 478.7 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.256e-05/0.1211, allocations: 12 kB / 478.7 MB, free: 3.605 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.0001827/0.1213, allocations: 201.7 kB / 478.9 MB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.104e-05/0.1214, allocations: 27.72 kB / 478.9 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003924/0.1218, allocations: 264.6 kB / 479.1 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1218, allocations: 4 kB / 479.2 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.1218, allocations: 0 / 479.2 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.1218, allocations: 0 / 479.2 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.1228, allocations: 0.7537 MB / 479.9 MB, free: 2.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1228, allocations: 0 / 479.9 MB, free: 2.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002487/0.1231, allocations: 51.91 kB / 480 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.1231, allocations: 4 kB / 480 MB, free: 2.234 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.1231, allocations: 8 kB / 480 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1231, allocations: 4 kB / 480 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1232, allocations: 3.938 kB / 480 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005025/0.1237, allocations: 472.8 kB / 480.4 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.478e-05/0.1238, allocations: 100.7 kB / 480.5 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.84e-05/0.1238, allocations: 12.03 kB / 480.5 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.124, allocations: 11.94 kB / 480.6 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.18e-05/0.124, allocations: 19.92 kB / 480.6 MB, free: 1.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.124, allocations: 8 kB / 480.6 MB, free: 1.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001836/0.1242, allocations: 219 kB / 480.8 MB, free: 1.355 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1242, allocations: 0 / 480.8 MB, free: 1.355 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003801/0.1246, allocations: 84 kB / 480.9 MB, free: 1.273 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.000107/0.1247, allocations: 103.4 kB / 481 MB, free: 1.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005706/0.1253, allocations: 374.4 kB / 481.3 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1253, allocations: 0 / 481.3 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.1255, allocations: 103.8 kB / 481.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004718/0.1259, allocations: 62.2 kB / 481.5 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.1273, allocations: 1.143 MB / 482.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/0.1277, allocations: 0.8463 MB / 483.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000195/0.1279, allocations: 74.86 kB / 483.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.084e-05/0.128, allocations: 27.42 kB / 483.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.128, allocations: 0 / 483.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of Templates: time 0.006801/0.1348, allocations: 3.299 MB / 486.9 MB, free: 11.2 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