Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.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.0008345/0.0008345, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003486/0.003486, allocations: 160.5 kB / 24.7 MB, free: 9.426 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.8439/0.8439, allocations: 177.1 MB / 205 MB, free: 5.734 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.2376/0.2376, allocations: 29.41 MB / 290.8 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: translateModel(PowerSystems.Examples.AC3ph.Drives.ASMav,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMav,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.361e-05, allocations: 3.828 kB / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.005893/0.005917, allocations: 6.765 MB / 438.2 MB, free: 6.293 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005543/0.01146, allocations: 4.848 MB / 443.1 MB, free: 1.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003593/0.01182, allocations: 39.69 kB / 443.1 MB, free: 1.391 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1689/0.1807, allocations: 6.516 MB / 449.6 MB, free: 44.07 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001001/0.1817, allocations: 0.5811 MB / 450.2 MB, free: 44.05 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007007/0.1824, allocations: 0.5189 MB / 450.7 MB, free: 44.03 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001353/0.1837, allocations: 2.432 MB / 453.2 MB, free: 43.75 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005546/0.1843, allocations: 0.8522 MB / 454 MB, free: 43.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005215/0.1848, allocations: 0.8355 MB / 454.9 MB, free: 43.56 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004438/0.1853, allocations: 0.6849 MB / 455.6 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.094e-05/0.1853, allocations: 99.88 kB / 455.6 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003173/0.1857, allocations: 305 kB / 455.9 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002076/0.1859, allocations: 0.5224 MB / 456.5 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002205/0.1861, allocations: 405.6 kB / 456.9 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009354/0.187, allocations: 1.639 MB / 458.5 MB, free: 42.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.187, allocations: 0 / 458.5 MB, free: 42.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.187, allocations: 0 / 458.5 MB, free: 42.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.187, allocations: 0 / 458.5 MB, free: 42.5 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: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.001477/0.1885, allocations: 1.435 MB / 459.9 MB, free: 41.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.1885, allocations: 13.55 kB / 460 MB, free: 41.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004018/0.1889, allocations: 193.3 kB / 460.1 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008449/0.1898, allocations: 0.8331 MB / 461 MB, free: 41.13 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.1898, allocations: 64.66 kB / 461 MB, free: 41.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.978e-05/0.1899, allocations: 89.2 kB / 461.1 MB, free: 41.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009175/0.1908, allocations: 1.26 MB / 462.4 MB, free: 40.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.1908, allocations: 6.484 kB / 462.4 MB, free: 40.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.063e-05/0.1909, allocations: 43.62 kB / 462.4 MB, free: 40.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001022/0.191, allocations: 84.89 kB / 462.5 MB, free: 40.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008326/0.1918, allocations: 0.9993 MB / 463.5 MB, free: 40.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002981/0.1948, allocations: 4.397 MB / 467.9 MB, free: 37.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005254/0.1953, allocations: 0.5371 MB / 468.5 MB, free: 36.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002993/0.1956, allocations: 329.4 kB / 468.8 MB, free: 36.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-05/0.1957, allocations: 10.03 kB / 468.8 MB, free: 36.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003604/0.196, allocations: 455 kB / 469.2 MB, free: 36.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=62): time 1.523e-06/0.196, allocations: 0 / 469.2 MB, free: 36.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=65): time 0.002392/0.1984, allocations: 2.348 MB / 471.6 MB, free: 35.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.1985, allocations: 116.8 kB / 471.7 MB, free: 35.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004487/0.1989, allocations: 0.7162 MB / 472.4 MB, free: 35.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.382e-05/0.1989, allocations: 36.86 kB / 472.4 MB, free: 35.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.1991, allocations: 0.5226 MB / 473 MB, free: 34.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.207e-05/0.1992, allocations: 243 kB / 473.2 MB, free: 34.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.1993, allocations: 186.2 kB / 473.4 MB, free: 34.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.854e-05/0.1994, allocations: 402.1 kB / 473.8 MB, free: 33.97 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003216/0.1997, allocations: 376 kB / 474.1 MB, free: 33.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003846/0.2001, allocations: 0.6761 MB / 474.8 MB, free: 33.33 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007247/0.2008, allocations: 1.058 MB / 475.9 MB, free: 32.69 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.2008, allocations: 3.062 kB / 475.9 MB, free: 32.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001486/0.2023, allocations: 1.533 MB / 477.4 MB, free: 32.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.2023, allocations: 9.375 kB / 477.4 MB, free: 32.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.2023, allocations: 16.09 kB / 477.4 MB, free: 32.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000743/0.2031, allocations: 487.5 kB / 477.9 MB, free: 32.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003009/0.2034, allocations: 169.8 kB / 478.1 MB, free: 32.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005148/0.2085, allocations: 6.754 MB / 484.8 MB, free: 27.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003056/0.2088, allocations: 45.09 kB / 484.9 MB, free: 27.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-05/0.2089, allocations: 51.19 kB / 484.9 MB, free: 27.71 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 87 * 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 {(6,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0003159/0.2092, allocations: 352.5 kB / 485.3 MB, free: 27.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.195e-05/0.2093, allocations: 85.98 kB / 485.4 MB, free: 27.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.2103, allocations: 0.9585 MB / 486.3 MB, free: 27.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.2103, allocations: 7.125 kB / 486.3 MB, free: 27.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2103, allocations: 2.344 kB / 486.3 MB, free: 27.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.2103, allocations: 3.328 kB / 486.3 MB, free: 27.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001891/0.2122, allocations: 1.753 MB / 488.1 MB, free: 26.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.2122, allocations: 2.078 kB / 488.1 MB, free: 26.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00037/0.2126, allocations: 126 kB / 488.2 MB, free: 26.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002975/0.2129, allocations: 163.4 kB / 488.4 MB, free: 26.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.995e-05/0.2129, allocations: 24.09 kB / 488.4 MB, free: 26.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0019/0.2148, allocations: 4.409 MB / 492.8 MB, free: 22.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.2148, allocations: 1.891 kB / 492.8 MB, free: 22.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/0.2163, allocations: 1.381 MB / 494.2 MB, free: 21.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001759/0.2164, allocations: 136.5 kB / 494.3 MB, free: 21.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.881e-05/0.2165, allocations: 21.64 kB / 494.3 MB, free: 21.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/0.2167, allocations: 31.48 kB / 494.4 MB, free: 21.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.2168, allocations: 57.66 kB / 494.4 MB, free: 21.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-05/0.2169, allocations: 30.91 kB / 494.5 MB, free: 21.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004257/0.2173, allocations: 482.9 kB / 494.9 MB, free: 21.26 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2173, allocations: 0 / 494.9 MB, free: 21.26 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007238/0.218, allocations: 280.1 kB / 495.2 MB, free: 21.22 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 13 (power.pav[1],power.pav[2],power.pav[3],asm.rotor.phi,asm.rotor.w,asm.motor.i[3],asm.motor.psi_s[1],asm.motor.psi_s[2],asm.motor.psi_rd[1],asm.motor.psi_rd[2],asm.motor.psi_rq[1],asm.motor.psi_rq[2],tabLoad.s) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (2,1,100.0%), (2,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.0008373/0.2188, allocations: 0.5008 MB / 495.7 MB, free: 21.01 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001579/0.2204, allocations: 1.281 MB / 497 MB, free: 20.44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2204, allocations: 0 / 497 MB, free: 20.44 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000688/0.2211, allocations: 0.7652 MB / 497.7 MB, free: 19.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005657/0.2217, allocations: 205.9 kB / 497.9 MB, free: 19.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002602/0.2243, allocations: 2.459 MB / 0.4887 GB, free: 18.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005591/0.2248, allocations: 0.5422 MB / 0.4892 GB, free: 18.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/0.225, allocations: 84.31 kB / 0.4893 GB, free: 18.37 MB / 410.7 MB Notification: Performance of SimCode: time 8.42e-07/0.225, allocations: 0 / 0.4893 GB, free: 18.37 MB / 410.7 MB Notification: Performance of Templates: time 0.01686/0.2419, allocations: 23.64 MB / 0.5124 GB, free: 3.449 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.758651589043438] Failed to read output from testmodel.py, exit status != 0: 0.24620731733739376 0.25340454300000004 0.064821523 Calling exit ...