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.001098/0.001098, allocations: 108.3 kB / 16.92 MB, free: 6.145 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.00115/0.001151, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.351/1.351, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2013/0.2013, allocations: 38.04 MB / 329.7 MB, free: 8.832 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 56.53 kB / 398.9 MB, free: 33.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1085, allocations: 58.07 MB / 457 MB, free: 7.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.005753/0.1143, allocations: 4.704 MB / 461.7 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001953/0.1163, allocations: 1.348 MB / 463 MB, free: 1.883 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001986/0.1165, allocations: 15.94 kB / 463 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.1176, allocations: 408.5 kB / 463.4 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005004/0.1181, allocations: 234.8 kB / 463.7 MB, free: 1.238 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004933/0.1186, allocations: 175.6 kB / 463.8 MB, free: 1.066 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006187/0.1193, allocations: 0.549 MB / 464.4 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005417/0.1198, allocations: 353.8 kB / 464.7 MB, free: 176 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004032/0.1202, allocations: 251 kB / 465 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004674/0.1207, allocations: 271 kB / 465.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.161e-05/0.1208, allocations: 32 kB / 465.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003002/0.1211, allocations: 127.7 kB / 465.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001912/0.1213, allocations: 183.5 kB / 465.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002713/0.1216, allocations: 226.9 kB / 465.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005667/0.1222, allocations: 0.5178 MB / 466.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.1222, allocations: 0 / 466.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1222, allocations: 0 / 466.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.29e-05/0.1222, allocations: 0 / 466.3 MB, free: 14.58 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.00155/0.1238, allocations: 0.7174 MB / 467 MB, free: 13.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.1238, allocations: 19.83 kB / 467.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001118/0.124, allocations: 78.72 kB / 467.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008244/0.1248, allocations: 84.31 kB / 467.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007161/0.1255, allocations: 404 kB / 467.6 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/0.1256, allocations: 25.38 kB / 467.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/0.1257, allocations: 51.91 kB / 467.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007669/0.1265, allocations: 480.8 kB / 468.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.1265, allocations: 0 / 468.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.646e-05/0.1266, allocations: 12 kB / 468.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001109/0.1267, allocations: 28.98 kB / 468.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005534/0.1272, allocations: 343.7 kB / 468.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002233/0.1295, allocations: 1.633 MB / 470.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003405/0.1298, allocations: 169.2 kB / 470.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000165/0.13, allocations: 121.7 kB / 470.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.13, allocations: 0 / 470.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.1301, allocations: 46.44 kB / 470.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.813e-06/0.1301, allocations: 0 / 470.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001296/0.1314, allocations: 0.7799 MB / 471.3 MB, free: 9.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.1315, allocations: 81.23 kB / 471.3 MB, free: 9.223 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002885/0.1317, allocations: 308.5 kB / 471.7 MB, free: 8.918 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.1318, allocations: 29.7 kB / 471.7 MB, free: 8.883 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.1319, allocations: 251.5 kB / 471.9 MB, free: 8.633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.928e-05/0.132, allocations: 71 kB / 472 MB, free: 8.562 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.783e-05/0.1321, allocations: 69.53 kB / 472.1 MB, free: 8.488 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.1322, allocations: 346.8 kB / 472.4 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.1324, allocations: 91.94 kB / 472.5 MB, free: 8.051 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.1326, allocations: 210.9 kB / 472.7 MB, free: 7.801 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004223/0.133, allocations: 327.4 kB / 473 MB, free: 7.438 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.133, allocations: 0 / 473 MB, free: 7.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008127/0.1338, allocations: 433.4 kB / 473.4 MB, free: 7.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.1339, allocations: 4 kB / 473.4 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004902/0.1344, allocations: 262.9 kB / 473.7 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003569/0.1347, allocations: 85.2 kB / 473.8 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.135, allocations: 63.91 kB / 473.8 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001697/0.1367, allocations: 1.715 MB / 475.6 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.1369, allocations: 8 kB / 475.6 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/0.137, allocations: 19.98 kB / 475.6 MB, free: 4.711 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.0002271/0.1372, allocations: 189.7 kB / 475.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.881e-05/0.1373, allocations: 35.61 kB / 475.8 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004452/0.1377, allocations: 266.8 kB / 476.1 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1378, allocations: 0 / 476.1 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1378, allocations: 4 kB / 476.1 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.1378, allocations: 7.922 kB / 476.1 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.1389, allocations: 0.7382 MB / 476.8 MB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1389, allocations: 0 / 476.8 MB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002758/0.1392, allocations: 55.91 kB / 476.9 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.704e-06/0.1392, allocations: 7.938 kB / 476.9 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.1393, allocations: 4 kB / 476.9 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1393, allocations: 0 / 476.9 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.1393, allocations: 0 / 476.9 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005602/0.1399, allocations: 462.4 kB / 477.3 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.135e-05/0.14, allocations: 112.8 kB / 477.4 MB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.681e-05/0.14, allocations: 12.03 kB / 477.5 MB, free: 2.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.1402, allocations: 4 kB / 477.5 MB, free: 2.711 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.1402, allocations: 19.98 kB / 477.5 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.1403, allocations: 4 kB / 477.5 MB, free: 2.688 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002494/0.1405, allocations: 219 kB / 477.7 MB, free: 2.473 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1405, allocations: 7.875 kB / 477.7 MB, free: 2.465 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004459/0.141, allocations: 84 kB / 477.8 MB, free: 2.383 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.0007866/0.1418, allocations: 0.9936 MB / 478.8 MB, free: 1.359 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006682/0.1424, allocations: 402.9 kB / 479.2 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1425, allocations: 4.125 kB / 479.2 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.1426, allocations: 99.84 kB / 479.3 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004933/0.1431, allocations: 77.31 kB / 479.4 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004496/0.1476, allocations: 3.542 MB / 482.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.148, allocations: 0.8499 MB / 483.7 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002197/0.1483, allocations: 78.89 kB / 483.8 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/0.1485, allocations: 135.4 kB / 484 MB, free: 11.96 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1485, allocations: 0 / 484 MB, free: 11.96 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02931/0.1778, allocations: 7.084 MB / 491 MB, free: 5.027 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.704/8.882, allocations: 11.69 kB / 491 MB, free: 5.016 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches