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.001201/0.001201, allocations: 112.2 kB / 16.51 MB, free: 6.715 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.001352/0.001353, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.306/1.306, allocations: 222.9 MB / 241.1 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1626/0.1626, allocations: 38.02 MB / 329.3 MB, free: 8.844 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 61.45 kB / 398.2 MB, free: 34.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09582/0.09697, allocations: 58.08 MB / 456.3 MB, free: 8.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.006091/0.1031, allocations: 5.349 MB / 461.6 MB, free: 3 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002236/0.1054, allocations: 1.527 MB / 463.1 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002431/0.1056, allocations: 31.81 kB / 463.2 MB, free: 1.438 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009575/0.1066, allocations: 386.6 kB / 463.5 MB, free: 1.059 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004279/0.1071, allocations: 219 kB / 463.8 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003978/0.1075, allocations: 155.8 kB / 463.9 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007874/0.1083, allocations: 0.7985 MB / 464.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005868/0.1089, allocations: 329.3 kB / 465 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002699/0.1092, allocations: 218.9 kB / 465.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003594/0.1095, allocations: 283.1 kB / 465.5 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.414e-05/0.1096, allocations: 27.94 kB / 465.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002745/0.1099, allocations: 139.7 kB / 465.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000165/0.11, allocations: 175.5 kB / 465.9 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002004/0.1102, allocations: 222.9 kB / 466.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004362/0.1107, allocations: 0.51 MB / 466.6 MB, free: 14.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1107, allocations: 0 / 466.6 MB, free: 14.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.1107, allocations: 0 / 466.6 MB, free: 14.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.1107, allocations: 0 / 466.6 MB, free: 14.01 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.001004/0.1117, allocations: 0.7184 MB / 467.3 MB, free: 13.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.1118, allocations: 8.031 kB / 467.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.673e-05/0.1119, allocations: 82.72 kB / 467.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006604/0.1125, allocations: 84.31 kB / 467.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005335/0.1131, allocations: 396.1 kB / 467.9 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.1131, allocations: 21.38 kB / 467.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.1132, allocations: 47.84 kB / 467.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006348/0.1139, allocations: 492.8 kB / 468.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.1139, allocations: 0 / 468.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.24e-05/0.1139, allocations: 12 kB / 468.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001043/0.114, allocations: 32.98 kB / 468.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004949/0.1145, allocations: 343.7 kB / 468.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001925/0.1165, allocations: 1.629 MB / 470.4 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000308/0.1168, allocations: 173.1 kB / 470.6 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/0.117, allocations: 117.7 kB / 470.7 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.117, allocations: 7.984 kB / 470.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.117, allocations: 42.48 kB / 470.7 MB, free: 9.586 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.352e-06/0.117, allocations: 0 / 470.7 MB, free: 9.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001188/0.1182, allocations: 0.7677 MB / 471.5 MB, free: 8.766 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.1183, allocations: 89.05 kB / 471.6 MB, free: 8.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002602/0.1185, allocations: 312.4 kB / 471.9 MB, free: 8.344 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.1186, allocations: 33.64 kB / 471.9 MB, free: 8.305 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.1187, allocations: 255.5 kB / 472.2 MB, free: 8.051 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.852e-05/0.1188, allocations: 70.94 kB / 472.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.402e-05/0.1189, allocations: 61.69 kB / 472.3 MB, free: 7.914 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.119, allocations: 346.8 kB / 472.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.1191, allocations: 95.94 kB / 472.7 MB, free: 7.473 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.1193, allocations: 200.4 kB / 472.9 MB, free: 7.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000388/0.1197, allocations: 339.3 kB / 473.3 MB, free: 6.855 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.1197, allocations: 0 / 473.3 MB, free: 6.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007463/0.1205, allocations: 425.4 kB / 473.7 MB, free: 6.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1205, allocations: 8 kB / 473.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004775/0.121, allocations: 258.9 kB / 474 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003208/0.1213, allocations: 85.16 kB / 474 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/0.1216, allocations: 67.91 kB / 474.1 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001385/0.123, allocations: 1.581 MB / 475.7 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.1232, allocations: 11.98 kB / 475.7 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.1232, allocations: 16 kB / 475.7 MB, free: 4.27 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.0001875/0.1234, allocations: 189.8 kB / 475.9 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.643e-05/0.1234, allocations: 35.61 kB / 475.9 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004063/0.1239, allocations: 270.9 kB / 476.2 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1239, allocations: 0 / 476.2 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.1239, allocations: 3.984 kB / 476.2 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1239, allocations: 4 kB / 476.2 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.1249, allocations: 0.7382 MB / 476.9 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1249, allocations: 4.031 kB / 476.9 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002653/0.1252, allocations: 55.91 kB / 477 MB, free: 2.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.1252, allocations: 8 kB / 477 MB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.1252, allocations: 4 kB / 477 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1252, allocations: 3.984 kB / 477 MB, free: 2.891 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.1252, allocations: 3.938 kB / 477 MB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005221/0.1258, allocations: 460.9 kB / 477.5 MB, free: 2.414 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.007e-05/0.1259, allocations: 108.8 kB / 477.6 MB, free: 2.289 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.154e-05/0.1259, allocations: 8 kB / 477.6 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.1261, allocations: 7.938 kB / 477.6 MB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.1261, allocations: 19.97 kB / 477.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.1261, allocations: 4 kB / 477.6 MB, free: 2.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000191/0.1263, allocations: 223 kB / 477.8 MB, free: 2.031 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1263, allocations: 0 / 477.8 MB, free: 2.031 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003871/0.1267, allocations: 84 kB / 477.9 MB, free: 1.949 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.0007404/0.1275, allocations: 0.9909 MB / 478.9 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005959/0.1281, allocations: 382.1 kB / 479.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1281, allocations: 0 / 479.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.1282, allocations: 96.72 kB / 479.4 MB, free: 452 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004601/0.1287, allocations: 65.58 kB / 479.4 MB, free: 384 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004121/0.1328, allocations: 3.701 MB / 483.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004001/0.1333, allocations: 0.8535 MB / 484 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002141/0.1335, allocations: 70.91 kB / 484.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/0.1337, allocations: 135.4 kB / 484.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1337, allocations: 4 kB / 484.2 MB, free: 11.4 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01817/0.1519, allocations: 6.804 MB / 491 MB, free: 4.77 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002899/0.1522, allocations: 249.1 kB / 491.2 MB, free: 4.504 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.754/1.906, allocations: 4 kB / 491.2 MB, free: 4.5 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