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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",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.0007583/0.0007583, allocations: 90.44 kB / 16.65 MB, free: 6.348 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.0007578/0.0007578, allocations: 178.6 kB / 17.56 MB, free: 5.949 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.326/1.326, allocations: 223.2 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1694/0.1694, allocations: 38.1 MB / 330.8 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003039/0.0003039, allocations: 8 kB / 400.8 MB, free: 34.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1017, allocations: 59.17 MB / 460 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.005186/0.1069, allocations: 4.95 MB / 464.9 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002034/0.1089, allocations: 1.515 MB / 466.4 MB, free: 496 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001769/0.1091, allocations: 19.88 kB / 466.5 MB, free: 476 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002558/0.1094, allocations: 91.38 kB / 466.6 MB, free: 384 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004066/0.1098, allocations: 219 kB / 466.8 MB, free: 164 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000337/0.1102, allocations: 155.7 kB / 466.9 MB, free: 8 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006706/0.1108, allocations: 0.7985 MB / 467.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008324/0.1117, allocations: 0.5913 MB / 468.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002575/0.1119, allocations: 214.9 kB / 468.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003441/0.1123, allocations: 259 kB / 468.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.252e-05/0.1123, allocations: 16 kB / 468.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002432/0.1126, allocations: 131.7 kB / 468.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.1128, allocations: 163.6 kB / 469.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001976/0.113, allocations: 220.6 kB / 469.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004707/0.1134, allocations: 0.5137 MB / 469.8 MB, free: 13.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1134, allocations: 0 / 469.8 MB, free: 13.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1135, allocations: 0 / 469.8 MB, free: 13.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1135, allocations: 0 / 469.8 MB, free: 13.08 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.0009019/0.1144, allocations: 0.6367 MB / 470.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.1144, allocations: 12.03 kB / 470.5 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.045e-05/0.1145, allocations: 78.66 kB / 470.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006181/0.1151, allocations: 84.31 kB / 470.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005444/0.1157, allocations: 400.1 kB / 471 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.977e-05/0.1157, allocations: 25.38 kB / 471 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.1159, allocations: 47.91 kB / 471.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006888/0.1166, allocations: 480.8 kB / 471.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.1166, allocations: 4 kB / 471.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.792e-05/0.1166, allocations: 11.98 kB / 471.6 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000104/0.1167, allocations: 28.98 kB / 471.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005715/0.1173, allocations: 351.7 kB / 471.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002122/0.1195, allocations: 1.629 MB / 473.6 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003414/0.1198, allocations: 181.1 kB / 473.7 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.12, allocations: 113.7 kB / 473.9 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.12, allocations: 0 / 473.9 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/0.1201, allocations: 46.44 kB / 473.9 MB, free: 8.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 3.115e-06/0.1201, allocations: 0 / 473.9 MB, free: 8.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001278/0.1214, allocations: 0.7794 MB / 474.7 MB, free: 7.898 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.1214, allocations: 77.11 kB / 474.8 MB, free: 7.805 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002913/0.1217, allocations: 308.5 kB / 475.1 MB, free: 7.492 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.1218, allocations: 29.7 kB / 475.1 MB, free: 7.457 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.1219, allocations: 251.5 kB / 475.3 MB, free: 7.207 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.617e-05/0.122, allocations: 74.94 kB / 475.4 MB, free: 7.133 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-05/0.1221, allocations: 33.7 kB / 475.4 MB, free: 7.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1222, allocations: 350.8 kB / 475.8 MB, free: 6.742 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.1224, allocations: 91.95 kB / 475.9 MB, free: 6.652 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002088/0.1226, allocations: 200.4 kB / 476.1 MB, free: 6.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004121/0.123, allocations: 336.5 kB / 476.4 MB, free: 6.035 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.123, allocations: 0 / 476.4 MB, free: 6.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000729/0.1237, allocations: 427.5 kB / 476.8 MB, free: 5.609 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.1238, allocations: 11.98 kB / 476.8 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004599/0.1242, allocations: 262.9 kB / 477.1 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003125/0.1246, allocations: 80.78 kB / 477.2 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/0.1248, allocations: 71.83 kB / 477.2 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00141/0.1262, allocations: 1.585 MB / 478.8 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.1264, allocations: 12 kB / 478.8 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.1264, allocations: 15.98 kB / 478.8 MB, free: 3.438 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.0002018/0.1266, allocations: 193.7 kB / 479 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.572e-05/0.1267, allocations: 31.69 kB / 479.1 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004103/0.1271, allocations: 264.6 kB / 479.3 MB, free: 2.945 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.1272, allocations: 4 kB / 479.3 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.1272, allocations: 3.938 kB / 479.3 MB, free: 2.938 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1272, allocations: 3.984 kB / 479.3 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.1282, allocations: 0.7529 MB / 480.1 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.1282, allocations: 0 / 480.1 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/0.1284, allocations: 47.97 kB / 480.1 MB, free: 2.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.1285, allocations: 0 / 480.1 MB, free: 2.074 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.1285, allocations: 8 kB / 480.1 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-06/0.1285, allocations: 7.938 kB / 480.1 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.1285, allocations: 3.938 kB / 480.1 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005038/0.129, allocations: 461.7 kB / 480.6 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.447e-05/0.1291, allocations: 108.7 kB / 480.7 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.809e-05/0.1291, allocations: 8 kB / 480.7 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.1293, allocations: 11.94 kB / 480.7 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.18e-05/0.1293, allocations: 11.92 kB / 480.7 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.1293, allocations: 15.98 kB / 480.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001887/0.1295, allocations: 219.1 kB / 481 MB, free: 1.195 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1295, allocations: 0 / 481 MB, free: 1.195 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003787/0.1299, allocations: 84 kB / 481 MB, free: 1.113 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.0007577/0.1307, allocations: 0.9871 MB / 482 MB, free: 92 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006168/0.1313, allocations: 370.2 kB / 482.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1313, allocations: 0.875 kB / 482.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.1315, allocations: 112 kB / 482.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005097/0.132, allocations: 69.33 kB / 482.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004231/0.1363, allocations: 3.759 MB / 486.3 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004706/0.1367, allocations: 0.8497 MB / 487.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002115/0.137, allocations: 70.91 kB / 487.3 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/0.1372, allocations: 147.4 kB / 487.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1372, allocations: 0 / 487.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01822/0.1554, allocations: 6.684 MB / 494.1 MB, free: 4.012 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002353/0.1557, allocations: 240.1 kB / 494.3 MB, free: 3.754 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.838/1.993, allocations: 7.875 kB / 494.3 MB, free: 3.746 MB / 366.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.mat","/var/lib/jenkins1/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