Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.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.0008616/0.0008616, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008765/0.0008765, allocations: 170 kB / 23.95 MB, free: 0.6094 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.8718/0.8718, allocations: 177.1 MB / 204.3 MB, free: 5.703 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.2093/0.2093, allocations: 29.41 MB / 290.1 MB, free: 2.453 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.Drives.ASMcharacteristic,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMcharacteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMcharacteristic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.173e-05, allocations: 2.281 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.004759/0.00478, allocations: 5.051 MB / 435.3 MB, free: 8.508 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003925/0.008706, allocations: 3.642 MB / 438.9 MB, free: 4.852 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000296/0.009002, allocations: 23.81 kB / 438.9 MB, free: 4.828 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1708/0.1798, allocations: 5.36 MB / 444.3 MB, free: 46.64 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007326/0.1806, allocations: 336.6 kB / 444.6 MB, free: 46.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003871/0.181, allocations: 229.1 kB / 444.8 MB, free: 46.64 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00128/0.1822, allocations: 1.654 MB / 446.5 MB, free: 46.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004517/0.1827, allocations: 0.5169 MB / 447 MB, free: 46.44 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003547/0.1831, allocations: 0.5017 MB / 447.5 MB, free: 46.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003188/0.1834, allocations: 389.4 kB / 447.9 MB, free: 46.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.908e-05/0.1834, allocations: 54.88 kB / 448 MB, free: 46.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.1835, allocations: 74.81 kB / 448 MB, free: 46.36 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.1837, allocations: 269.5 kB / 448.3 MB, free: 46.33 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.1838, allocations: 219.6 kB / 448.5 MB, free: 46.31 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005116/0.1843, allocations: 0.8163 MB / 449.3 MB, free: 46.26 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1843, allocations: 0 / 449.3 MB, free: 46.26 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1843, allocations: 0 / 449.3 MB, free: 46.26 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.1843, allocations: 0 / 449.3 MB, free: 46.26 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.0009021/0.1852, allocations: 0.8102 MB / 450.1 MB, free: 45.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.1853, allocations: 16.89 kB / 450.1 MB, free: 45.78 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.992e-05/0.1853, allocations: 95.78 kB / 450.2 MB, free: 45.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/0.1855, allocations: 78.2 kB / 450.3 MB, free: 45.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005578/0.186, allocations: 488.1 kB / 450.8 MB, free: 45.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.1861, allocations: 39.17 kB / 450.8 MB, free: 45.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.231e-05/0.1861, allocations: 43.09 kB / 450.9 MB, free: 45.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005189/0.1866, allocations: 0.6376 MB / 451.5 MB, free: 45.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.1866, allocations: 0 / 451.5 MB, free: 45.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.876e-05/0.1867, allocations: 20.34 kB / 451.5 MB, free: 45.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.845e-05/0.1867, allocations: 51.27 kB / 451.6 MB, free: 45.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004161/0.1872, allocations: 466.8 kB / 452 MB, free: 45.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001465/0.1886, allocations: 2.314 MB / 454.3 MB, free: 43.65 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002586/0.1889, allocations: 267 kB / 454.6 MB, free: 43.53 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.189, allocations: 134.2 kB / 454.7 MB, free: 43.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.189, allocations: 6.094 kB / 454.7 MB, free: 43.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.189, allocations: 34.86 kB / 454.8 MB, free: 43.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 1.954e-06/0.189, allocations: 0 / 454.8 MB, free: 43.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.0015/0.1905, allocations: 1.245 MB / 456 MB, free: 42.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.1906, allocations: 79.92 kB / 456.1 MB, free: 42.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.1908, allocations: 422.3 kB / 456.5 MB, free: 42.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.1908, allocations: 29.7 kB / 456.5 MB, free: 42.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.556e-05/0.1909, allocations: 312.3 kB / 456.9 MB, free: 42.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.434e-05/0.191, allocations: 113.6 kB / 457 MB, free: 42.13 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.725e-05/0.191, allocations: 81.97 kB / 457 MB, free: 42.08 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.614e-05/0.1911, allocations: 354.4 kB / 457.4 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.1912, allocations: 133.9 kB / 457.5 MB, free: 41.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.1914, allocations: 279.7 kB / 457.8 MB, free: 41.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003203/0.1917, allocations: 454.2 kB / 458.2 MB, free: 41.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1917, allocations: 3.344 kB / 458.2 MB, free: 41.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005856/0.1923, allocations: 0.601 MB / 458.8 MB, free: 40.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.1923, allocations: 6 kB / 458.8 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.1923, allocations: 6.125 kB / 458.9 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002668/0.1926, allocations: 144.9 kB / 459 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.1927, allocations: 76.47 kB / 459.1 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001727/0.1945, allocations: 3.447 MB / 462.5 MB, free: 38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.1946, allocations: 18.81 kB / 462.5 MB, free: 37.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.1946, allocations: 24.16 kB / 462.6 MB, free: 37.98 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (42): * Single equations (assignments): 40 * 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): 2 systems {(2,6,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001672/0.1948, allocations: 232 kB / 462.8 MB, free: 37.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.615e-05/0.1948, allocations: 46.69 kB / 462.8 MB, free: 37.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005462/0.1954, allocations: 0.4947 MB / 463.3 MB, free: 37.56 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.1954, allocations: 3.062 kB / 463.3 MB, free: 37.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0004328/0.1958, allocations: 404.5 kB / 463.7 MB, free: 37.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.1958, allocations: 3.422 kB / 463.7 MB, free: 37.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009314/0.1967, allocations: 0.9363 MB / 464.7 MB, free: 36.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1968, allocations: 0 / 464.7 MB, free: 36.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.1969, allocations: 41.33 kB / 464.7 MB, free: 36.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001555/0.197, allocations: 91.81 kB / 464.8 MB, free: 36.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.197, allocations: 4 kB / 464.8 MB, free: 36.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009485/0.198, allocations: 1.906 MB / 466.7 MB, free: 35.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.198, allocations: 3.031 kB / 466.7 MB, free: 35.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00047/0.1985, allocations: 0.6531 MB / 467.4 MB, free: 34.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.319e-05/0.1985, allocations: 62.56 kB / 467.4 MB, free: 34.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.1986, allocations: 11.31 kB / 467.4 MB, free: 34.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.492e-05/0.1987, allocations: 7.406 kB / 467.4 MB, free: 34.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.1987, allocations: 23.53 kB / 467.5 MB, free: 34.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.1987, allocations: 13.72 kB / 467.5 MB, free: 34.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001734/0.1989, allocations: 301.6 kB / 467.8 MB, free: 34.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1989, allocations: 0 / 467.8 MB, free: 34.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003496/0.1992, allocations: 117.1 kB / 467.9 MB, free: 34.72 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (asm.rotor.phi,asm.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 (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00059/0.1998, allocations: 1.189 MB / 469.1 MB, free: 33.83 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005275/0.2004, allocations: 0.5881 MB / 469.7 MB, free: 33.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2004, allocations: 0 / 469.7 MB, free: 33.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001952/0.2006, allocations: 293.6 kB / 469.9 MB, free: 33.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004177/0.201, allocations: 128.2 kB / 470.1 MB, free: 33.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003291/0.2043, allocations: 4.55 MB / 474.6 MB, free: 30.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001927/0.2045, allocations: 326.2 kB / 474.9 MB, free: 30.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001561/0.2046, allocations: 74.81 kB / 475 MB, free: 30.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.2047, allocations: 186.9 kB / 475.2 MB, free: 30.27 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/0.2048, allocations: 4 kB / 475.2 MB, free: 30.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02683/0.2316, allocations: 11.54 MB / 486.7 MB, free: 28.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.111/7.343, allocations: 8.844 kB / 486.7 MB, free: 28.5 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMcharacteristic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMcharacteristic.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.142153385095298] Failed to read output from testmodel.py, exit status != 0: 7.431536404415965 7.438562117 7.252462775 Calling exit ...