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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001832/0.001832, allocations: 119.9 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001999/0.001999, allocations: 189.2 kB / 20.73 MB, free: 2.352 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 225.6 MB / 249.1 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1834/0.1834, allocations: 38.51 MB / 342.5 MB, free: 8.086 MB / 270.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 64.42 kB / 478.6 MB, free: 33.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1104, allocations: 61.25 MB / 0.5272 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.007442/0.1179, allocations: 5.443 MB / 0.5325 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006648/0.1245, allocations: 4.172 MB / 0.5366 GB, free: 7.742 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004151/0.1249, allocations: 19.88 kB / 0.5366 GB, free: 7.723 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01006/0.135, allocations: 4.866 MB / 0.5414 GB, free: 2.848 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009359/0.1359, allocations: 342.4 kB / 0.5417 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006607/0.1366, allocations: 255.5 kB / 0.5419 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002101/0.1387, allocations: 1.563 MB / 0.5435 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005679/0.1393, allocations: 312.2 kB / 0.5438 GB, free: 392 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004954/0.1397, allocations: 374.6 kB / 0.5441 GB, free: 16 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006859/0.1404, allocations: 486.4 kB / 0.5446 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.528e-05/0.1405, allocations: 51.94 kB / 0.5446 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002814/0.1408, allocations: 119.8 kB / 0.5448 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002916/0.1411, allocations: 291.1 kB / 0.545 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000405/0.1415, allocations: 318.4 kB / 0.5453 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.1425, allocations: 0.7508 MB / 0.5461 GB, free: 14.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1425, allocations: 0 / 0.5461 GB, free: 14.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1425, allocations: 0 / 0.5461 GB, free: 14.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.788e-05/0.1425, allocations: 4 kB / 0.5461 GB, free: 14.01 MB / 414.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.001755/0.1443, allocations: 0.9167 MB / 0.547 GB, free: 13.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.1443, allocations: 15.83 kB / 0.547 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001107/0.1444, allocations: 86.7 kB / 0.5471 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000448/0.1449, allocations: 108.4 kB / 0.5472 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.146, allocations: 0.5607 MB / 0.5477 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/0.1461, allocations: 33 kB / 0.5478 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.349e-05/0.1462, allocations: 43.95 kB / 0.5478 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009984/0.1472, allocations: 0.6608 MB / 0.5484 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.1472, allocations: 0 / 0.5484 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.52e-05/0.1472, allocations: 16 kB / 0.5485 GB, free: 11.44 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001405/0.1474, allocations: 52.95 kB / 0.5485 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008025/0.1482, allocations: 495.5 kB / 0.549 GB, free: 10.9 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003744/0.1519, allocations: 2.524 MB / 0.5514 GB, free: 8.242 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005043/0.1524, allocations: 295.3 kB / 0.5517 GB, free: 7.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002684/0.1527, allocations: 171 kB / 0.5519 GB, free: 7.754 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.636e-05/0.1527, allocations: 15.98 kB / 0.5519 GB, free: 7.738 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.1528, allocations: 38.44 kB / 0.5519 GB, free: 7.691 MB / 414.1 MB Notification: Performance of pre-optimization done (n=32): time 1.833e-06/0.1528, allocations: 0 / 0.5519 GB, free: 7.691 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.002659/0.1554, allocations: 1.657 MB / 0.5536 GB, free: 5.898 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.885e-05/0.1555, allocations: 106.8 kB / 0.5537 GB, free: 5.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004793/0.156, allocations: 430 kB / 0.5541 GB, free: 5.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/0.156, allocations: 29.7 kB / 0.5541 GB, free: 5.305 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002377/0.1562, allocations: 312.2 kB / 0.5544 GB, free: 4.996 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.1564, allocations: 130.9 kB / 0.5545 GB, free: 4.867 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.1565, allocations: 86.2 kB / 0.5546 GB, free: 4.777 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.1567, allocations: 366.7 kB / 0.555 GB, free: 4.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002738/0.1569, allocations: 165 kB / 0.5551 GB, free: 4.246 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003683/0.1573, allocations: 297.8 kB / 0.5554 GB, free: 3.898 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006695/0.158, allocations: 499.6 kB / 0.5559 GB, free: 3.352 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.158, allocations: 4 kB / 0.5559 GB, free: 3.348 MB / 414.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001459/0.1594, allocations: 0.7957 MB / 0.5567 GB, free: 2.523 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.1595, allocations: 8 kB / 0.5567 GB, free: 2.516 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.1595, allocations: 4 kB / 0.5567 GB, free: 2.512 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006336/0.1601, allocations: 205.8 kB / 0.5569 GB, free: 2.305 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000327/0.1604, allocations: 75.88 kB / 0.5569 GB, free: 2.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004962/0.1654, allocations: 4.226 MB / 0.5611 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003243/0.1657, allocations: 19.98 kB / 0.5611 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.578e-05/0.1657, allocations: 16 kB / 0.5611 GB, free: 13.68 MB / 430.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.0003271/0.1661, allocations: 226 kB / 0.5613 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.1662, allocations: 43.72 kB / 0.5613 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/0.1673, allocations: 0.6495 MB / 0.562 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.1673, allocations: 8 kB / 0.562 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.1673, allocations: 4 kB / 0.562 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1673, allocations: 3.938 kB / 0.562 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001865/0.1692, allocations: 1.191 MB / 0.5632 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1692, allocations: 0 / 0.5632 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004618/0.1696, allocations: 75.83 kB / 0.5632 GB, free: 11.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001664/0.1698, allocations: 57.67 kB / 0.5633 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.705e-05/0.1698, allocations: 19.98 kB / 0.5633 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002299/0.1721, allocations: 2.831 MB / 0.5661 GB, free: 8.141 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1721, allocations: 0 / 0.5661 GB, free: 8.141 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.1734, allocations: 0.9572 MB / 0.567 GB, free: 7.113 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002623/0.1737, allocations: 148.8 kB / 0.5671 GB, free: 6.949 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.032e-05/0.1737, allocations: 15.98 kB / 0.5672 GB, free: 6.934 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.174, allocations: 8 kB / 0.5672 GB, free: 6.926 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.08e-05/0.174, allocations: 31.95 kB / 0.5672 GB, free: 6.895 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.718e-05/0.1741, allocations: 12 kB / 0.5672 GB, free: 6.883 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003443/0.1744, allocations: 291.1 kB / 0.5675 GB, free: 6.602 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1744, allocations: 0 / 0.5675 GB, free: 6.602 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000603/0.175, allocations: 128 kB / 0.5676 GB, free: 6.477 MB / 430.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.001614/0.1766, allocations: 1.522 MB / 0.5691 GB, free: 4.875 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001508/0.1781, allocations: 0.7083 MB / 0.5698 GB, free: 4.141 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.1782, allocations: 4 kB / 0.5698 GB, free: 4.137 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005916/0.1787, allocations: 406 kB / 0.5702 GB, free: 3.715 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007705/0.1795, allocations: 124 kB / 0.5703 GB, free: 3.598 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008189/0.1877, allocations: 5.55 MB / 0.5757 GB, free: 13.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006276/0.1883, allocations: 0.9522 MB / 0.5767 GB, free: 12.81 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003173/0.1886, allocations: 100.4 kB / 0.5767 GB, free: 12.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002749/0.1889, allocations: 195.4 kB / 0.5769 GB, free: 12.52 MB / 446.1 MB Notification: Performance of SimCode: time 7.81e-07/0.1889, allocations: 0 / 0.5769 GB, free: 12.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04497/0.2339, allocations: 12.29 MB / 0.5889 GB, free: 416 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/13.18, allocations: 0.9375 kB / 0.5889 GB, free: 416 kB / 446.1 MB " [Timeout remaining time 647] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Machines.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Machines.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.13532649492845]