Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000808/0.000808, allocations: 83.69 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008316/0.0008316, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8622/0.8622, allocations: 177.1 MB / 204.2 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.233/0.233, allocations: 29.4 MB / 290.1 MB, free: 2.422 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Machines,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Machines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Machines,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Machines",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.515e-05, allocations: 4.109 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.004862/0.004887, allocations: 5.184 MB / 435.4 MB, free: 8.379 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004417/0.009304, allocations: 3.825 MB / 439.2 MB, free: 4.539 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003312/0.009635, allocations: 19.81 kB / 439.2 MB, free: 4.52 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1626/0.1723, allocations: 5.416 MB / 444.7 MB, free: 46.05 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007607/0.173, allocations: 353.3 kB / 445 MB, free: 46.05 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005/0.1735, allocations: 264.9 kB / 445.3 MB, free: 46.05 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001326/0.1749, allocations: 1.669 MB / 446.9 MB, free: 45.89 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003911/0.1753, allocations: 320.8 kB / 447.2 MB, free: 45.85 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003539/0.1756, allocations: 0.4944 MB / 447.7 MB, free: 45.8 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003543/0.176, allocations: 428 kB / 448.2 MB, free: 45.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.82e-05/0.176, allocations: 45.12 kB / 448.2 MB, free: 45.77 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001981/0.1762, allocations: 120.8 kB / 448.3 MB, free: 45.77 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001616/0.1764, allocations: 303.1 kB / 448.6 MB, free: 45.73 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.1765, allocations: 217.5 kB / 448.8 MB, free: 45.71 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005596/0.1771, allocations: 0.7545 MB / 449.6 MB, free: 45.65 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.1771, allocations: 0 / 449.6 MB, free: 45.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1771, allocations: 3.5 kB / 449.6 MB, free: 45.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.1771, allocations: 0 / 449.6 MB, free: 45.65 MB / 410.7 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.0009842/0.1781, allocations: 0.8479 MB / 450.4 MB, free: 45.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.1781, allocations: 22.27 kB / 450.5 MB, free: 45.15 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.029e-05/0.1782, allocations: 84.42 kB / 450.5 MB, free: 45.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002776/0.1785, allocations: 94.86 kB / 450.6 MB, free: 45.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006067/0.1791, allocations: 499 kB / 451.1 MB, free: 44.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.1791, allocations: 36.77 kB / 451.2 MB, free: 44.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.71e-05/0.1792, allocations: 57.62 kB / 451.2 MB, free: 44.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005727/0.1797, allocations: 0.651 MB / 451.9 MB, free: 44.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.1797, allocations: 6.516 kB / 451.9 MB, free: 44.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.015e-05/0.1798, allocations: 17.94 kB / 451.9 MB, free: 44.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.453e-05/0.1799, allocations: 44.06 kB / 451.9 MB, free: 44.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004674/0.1803, allocations: 493 kB / 452.4 MB, free: 44.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001801/0.1821, allocations: 2.341 MB / 454.7 MB, free: 43.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002974/0.1824, allocations: 304.7 kB / 455 MB, free: 43.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/0.1826, allocations: 163.3 kB / 455.2 MB, free: 43.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.1826, allocations: 6.375 kB / 455.2 MB, free: 43.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.1826, allocations: 40.97 kB / 455.3 MB, free: 43.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.914e-06/0.1826, allocations: 0 / 455.3 MB, free: 43.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.001674/0.1843, allocations: 1.273 MB / 456.5 MB, free: 42.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.1843, allocations: 110.3 kB / 456.6 MB, free: 42.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003205/0.1847, allocations: 438 kB / 457.1 MB, free: 42.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.1847, allocations: 29.7 kB / 457.1 MB, free: 42.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.1848, allocations: 308.5 kB / 457.4 MB, free: 41.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.511e-05/0.1849, allocations: 125.5 kB / 457.5 MB, free: 41.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.118e-05/0.185, allocations: 94.12 kB / 457.6 MB, free: 41.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.319e-05/0.185, allocations: 356.8 kB / 458 MB, free: 41.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002666/0.1853, allocations: 167.4 kB / 458.1 MB, free: 41.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002996/0.1856, allocations: 299.5 kB / 458.4 MB, free: 41.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004573/0.186, allocations: 492 kB / 458.9 MB, free: 40.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.1861, allocations: 3.312 kB / 458.9 MB, free: 40.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008393/0.1869, allocations: 0.7162 MB / 459.6 MB, free: 40.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.1869, allocations: 11.16 kB / 459.6 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.1869, allocations: 3.25 kB / 459.6 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003769/0.1873, allocations: 209.1 kB / 459.8 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/0.1875, allocations: 71.59 kB / 459.9 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002936/0.1904, allocations: 3.999 MB / 463.9 MB, free: 37.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002899/0.1907, allocations: 24.42 kB / 463.9 MB, free: 37.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.985e-05/0.1908, allocations: 14.94 kB / 463.9 MB, free: 37.38 MB / 410.7 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.0002594/0.191, allocations: 240.8 kB / 464.2 MB, free: 37.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.833e-05/0.1911, allocations: 46.31 kB / 464.2 MB, free: 37.19 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006201/0.1917, allocations: 489.6 kB / 464.7 MB, free: 36.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.1917, allocations: 5.906 kB / 464.7 MB, free: 36.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.1917, allocations: 3.938 kB / 464.7 MB, free: 36.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.1917, allocations: 7.5 kB / 464.7 MB, free: 36.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008904/0.1926, allocations: 0.9778 MB / 465.7 MB, free: 36.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1926, allocations: 0 / 465.7 MB, free: 36.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/0.1929, allocations: 71.77 kB / 465.8 MB, free: 36.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.751e-05/0.1929, allocations: 54.81 kB / 465.8 MB, free: 36.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.193, allocations: 14.81 kB / 465.8 MB, free: 36.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000688/0.1936, allocations: 2.613 MB / 468.4 MB, free: 33.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1936, allocations: 6.531 kB / 468.4 MB, free: 33.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005429/0.1942, allocations: 0.8063 MB / 469.3 MB, free: 33.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.949e-05/0.1943, allocations: 67.77 kB / 469.3 MB, free: 33.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.1943, allocations: 13.97 kB / 469.3 MB, free: 33.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.1944, allocations: 12.09 kB / 469.3 MB, free: 33.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.1945, allocations: 37.97 kB / 469.4 MB, free: 33.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.1945, allocations: 10.5 kB / 469.4 MB, free: 33.37 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001707/0.1947, allocations: 295.1 kB / 469.7 MB, free: 33.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1947, allocations: 0 / 469.7 MB, free: 33.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003899/0.195, allocations: 132.6 kB / 469.8 MB, free: 33.21 MB / 410.7 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.0006569/0.1957, allocations: 1.361 MB / 471.2 MB, free: 32.22 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006797/0.1964, allocations: 0.72 MB / 471.9 MB, free: 31.85 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1964, allocations: 0 / 471.9 MB, free: 31.85 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002341/0.1966, allocations: 410.2 kB / 472.3 MB, free: 31.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.1971, allocations: 116 kB / 472.4 MB, free: 31.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003873/0.2009, allocations: 5.239 MB / 477.6 MB, free: 28.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.2011, allocations: 337 kB / 478 MB, free: 28.45 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001902/0.2013, allocations: 101.6 kB / 478.1 MB, free: 28.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/0.2015, allocations: 196.4 kB / 478.3 MB, free: 28.29 MB / 410.7 MB Notification: Performance of SimCode: time 7.62e-07/0.2015, allocations: 0 / 478.3 MB, free: 28.29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02877/0.2303, allocations: 13.05 MB / 491.3 MB, free: 26.41 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.011/8.241, allocations: 3.906 kB / 491.3 MB, free: 26.41 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Machines_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Machines.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.079736773855984] Failed to read output from testmodel.py, exit status != 0: 8.337854476645589 8.350128536 8.171124584 Calling exit ...