Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.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.Elementary.Machines,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Machines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Machines,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Machines",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.001229/0.001229, allocations: 107.2 kB / 16.92 MB, free: 5.77 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.001173/0.001173, allocations: 191.5 kB / 17.85 MB, free: 5.168 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.335/1.335, allocations: 222.9 MB / 241.6 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1788/0.1788, allocations: 38.03 MB / 329.7 MB, free: 8.895 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 66.55 kB / 398.9 MB, free: 34.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09883/0.1003, allocations: 58.07 MB / 457 MB, free: 8 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.007269/0.1076, allocations: 5.366 MB / 462.3 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006214/0.1138, allocations: 4.17 MB / 466.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005537/0.1144, allocations: 23.81 kB / 466.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01009/0.1245, allocations: 4.837 MB / 471.4 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001007/0.1255, allocations: 338.4 kB / 471.7 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008266/0.1264, allocations: 259.4 kB / 472 MB, free: 8.965 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002688/0.1291, allocations: 1.559 MB / 473.5 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007949/0.1299, allocations: 392.2 kB / 473.9 MB, free: 7.016 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006675/0.1306, allocations: 366.6 kB / 474.3 MB, free: 6.656 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007889/0.1314, allocations: 438.4 kB / 474.7 MB, free: 6.227 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001657/0.1316, allocations: 48 kB / 474.7 MB, free: 6.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003894/0.132, allocations: 123.8 kB / 474.9 MB, free: 6.059 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003318/0.1323, allocations: 275.3 kB / 475.1 MB, free: 5.789 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005376/0.1329, allocations: 326.3 kB / 475.4 MB, free: 5.469 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008966/0.1338, allocations: 0.7358 MB / 476.2 MB, free: 4.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1338, allocations: 4 kB / 476.2 MB, free: 4.727 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1338, allocations: 0 / 476.2 MB, free: 4.727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.652e-05/0.1338, allocations: 0 / 476.2 MB, free: 4.727 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002203/0.136, allocations: 0.9162 MB / 477.1 MB, free: 3.762 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.1361, allocations: 11.89 kB / 477.1 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001741/0.1363, allocations: 90.7 kB / 477.2 MB, free: 3.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006369/0.1369, allocations: 88.06 kB / 477.3 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/0.1383, allocations: 0.5292 MB / 477.8 MB, free: 2.996 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.595e-05/0.1383, allocations: 40.97 kB / 477.9 MB, free: 2.957 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.1385, allocations: 51.91 kB / 477.9 MB, free: 2.906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/0.1397, allocations: 0.6492 MB / 478.6 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/0.1397, allocations: 3.938 kB / 478.6 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.255e-05/0.1398, allocations: 20 kB / 478.6 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001473/0.1399, allocations: 52.97 kB / 478.6 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007849/0.1407, allocations: 495.6 kB / 479.1 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003529/0.1442, allocations: 2.527 MB / 481.6 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005474/0.1448, allocations: 320 kB / 482 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002893/0.1451, allocations: 182.5 kB / 482.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.918e-05/0.1452, allocations: 4.5 kB / 482.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/0.1452, allocations: 42.5 kB / 482.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.915e-06/0.1452, allocations: 0 / 482.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.002539/0.1478, allocations: 1.632 MB / 483.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.196e-05/0.1478, allocations: 107 kB / 483.9 MB, free: 12.51 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004289/0.1483, allocations: 425.8 kB / 484.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/0.1483, allocations: 37.64 kB / 484.4 MB, free: 12.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/0.1485, allocations: 311.5 kB / 484.7 MB, free: 11.74 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.517e-05/0.1486, allocations: 126.2 kB / 484.8 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.1488, allocations: 82.25 kB / 484.9 MB, free: 11.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1489, allocations: 362.7 kB / 485.2 MB, free: 11.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002512/0.1492, allocations: 165 kB / 485.4 MB, free: 11.01 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003408/0.1495, allocations: 301.8 kB / 485.7 MB, free: 10.65 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006018/0.1501, allocations: 491.7 kB / 486.2 MB, free: 10.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.1501, allocations: 4 kB / 486.2 MB, free: 10.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001279/0.1514, allocations: 0.8031 MB / 487 MB, free: 9.273 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1514, allocations: 8 kB / 487 MB, free: 9.266 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.1515, allocations: 4 kB / 487 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006106/0.1521, allocations: 208.9 kB / 487.2 MB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/0.1524, allocations: 83.83 kB / 487.3 MB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004319/0.1567, allocations: 4.231 MB / 491.5 MB, free: 4.461 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002719/0.157, allocations: 16 kB / 491.5 MB, free: 4.445 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.519e-05/0.1571, allocations: 27.86 kB / 491.5 MB, free: 4.418 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002697/0.1573, allocations: 237.9 kB / 491.8 MB, free: 4.176 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.1575, allocations: 43.44 kB / 491.8 MB, free: 4.133 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008475/0.1583, allocations: 0.634 MB / 492.4 MB, free: 3.453 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.1583, allocations: 8.031 kB / 492.5 MB, free: 3.445 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1583, allocations: 0 / 492.5 MB, free: 3.445 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.1583, allocations: 3.984 kB / 492.5 MB, free: 3.441 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001556/0.1599, allocations: 1.191 MB / 493.7 MB, free: 2.145 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1599, allocations: 0 / 493.7 MB, free: 2.145 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004305/0.1604, allocations: 79.88 kB / 493.7 MB, free: 2.066 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001577/0.1605, allocations: 53.67 kB / 493.8 MB, free: 2.008 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.269e-05/0.1606, allocations: 12 kB / 493.8 MB, free: 1.996 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001879/0.1625, allocations: 2.835 MB / 496.6 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1625, allocations: 0 / 496.6 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.1636, allocations: 0.9569 MB / 497.6 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/0.1638, allocations: 148.5 kB / 497.7 MB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.085e-05/0.1638, allocations: 8 kB / 497.7 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002599/0.1641, allocations: 15.98 kB / 497.8 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.775e-05/0.1642, allocations: 23.97 kB / 497.8 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.1642, allocations: 12 kB / 497.8 MB, free: 13.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002891/0.1645, allocations: 291.1 kB / 498.1 MB, free: 13.35 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1645, allocations: 0 / 498.1 MB, free: 13.35 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005602/0.1651, allocations: 132 kB / 498.2 MB, free: 13.22 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (asynchron.i[3],asynchron.phi_el,asynchron.psi_s[1],asynchron.psi_s[2],asynchron.psi_rd[1],asynchron.psi_rq[1],rotor.w) * 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 (35): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001306/0.1664, allocations: 1.51 MB / 499.7 MB, free: 11.63 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001311/0.1677, allocations: 0.786 MB / 0.4888 GB, free: 10.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1677, allocations: 0 / 0.4888 GB, free: 10.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005188/0.1682, allocations: 418 kB / 0.4892 GB, free: 10.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007062/0.1689, allocations: 124.5 kB / 0.4893 GB, free: 10.26 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007088/0.176, allocations: 5.625 MB / 0.4948 GB, free: 4.379 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005475/0.1766, allocations: 0.9327 MB / 0.4957 GB, free: 3.422 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003393/0.177, allocations: 100.4 kB / 0.4958 GB, free: 3.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002623/0.1772, allocations: 203.3 kB / 0.496 GB, free: 3.121 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1772, allocations: 0 / 0.496 GB, free: 3.121 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03789/0.2151, allocations: 11.99 MB / 0.5077 GB, free: 7.312 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.18, allocations: 3.984 kB / 0.5077 GB, free: 7.309 MB / 398.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Machines_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Machines.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Machines.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches