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.0008248/0.0008248, 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.0008456/0.0008456, 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.8929/0.8929, allocations: 177.1 MB / 204.3 MB, free: 5.711 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.2118/0.2118, 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.ASMav,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Drives.ASMav,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.185e-05/2.399e-05, allocations: 4.109 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.006335/0.006359, allocations: 6.761 MB / 437 MB, free: 6.793 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005953/0.01231, allocations: 4.857 MB / 441.8 MB, free: 1.918 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006772/0.01299, allocations: 39.69 kB / 441.9 MB, free: 1.879 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.18/0.193, allocations: 6.516 MB / 448.4 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001191/0.1942, allocations: 0.5802 MB / 449 MB, free: 43.63 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008657/0.1951, allocations: 0.5158 MB / 449.5 MB, free: 43.62 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001646/0.1967, allocations: 2.42 MB / 451.9 MB, free: 43.35 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006483/0.1974, allocations: 0.8648 MB / 452.8 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006593/0.198, allocations: 0.8384 MB / 453.6 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005433/0.1986, allocations: 0.6818 MB / 454.3 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.42e-05/0.1987, allocations: 101.4 kB / 454.4 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004122/0.1991, allocations: 308 kB / 454.7 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000249/0.1993, allocations: 0.5299 MB / 455.2 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002416/0.1996, allocations: 400.9 kB / 455.6 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.2006, allocations: 1.64 MB / 457.2 MB, free: 42.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2006, allocations: 0 / 457.2 MB, free: 42.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2006, allocations: 0 / 457.2 MB, free: 42.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.2006, allocations: 0 / 457.2 MB, free: 42.25 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.001643/0.2023, allocations: 1.431 MB / 458.7 MB, free: 41.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.2023, allocations: 15.3 kB / 458.7 MB, free: 41.39 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001084/0.2024, allocations: 136.1 kB / 458.8 MB, free: 41.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004772/0.2029, allocations: 186.7 kB / 459 MB, free: 41.24 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.204, allocations: 0.8343 MB / 459.8 MB, free: 40.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.462e-05/0.204, allocations: 67.09 kB / 459.9 MB, free: 40.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.2042, allocations: 96.2 kB / 460 MB, free: 40.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.2052, allocations: 1.259 MB / 461.3 MB, free: 40.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/0.2052, allocations: 7.344 kB / 461.3 MB, free: 40.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.268e-05/0.2053, allocations: 34.45 kB / 461.3 MB, free: 40.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001263/0.2054, allocations: 85.48 kB / 461.4 MB, free: 40.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000963/0.2064, allocations: 1.003 MB / 462.4 MB, free: 39.79 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003439/0.2098, allocations: 4.508 MB / 466.9 MB, free: 36.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005573/0.2104, allocations: 0.5487 MB / 467.4 MB, free: 36.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003087/0.2107, allocations: 340.9 kB / 467.8 MB, free: 36.42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.614e-05/0.2107, allocations: 7.188 kB / 467.8 MB, free: 36.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003895/0.2111, allocations: 448.2 kB / 468.2 MB, free: 36.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=62): time 2.274e-06/0.2111, allocations: 0 / 468.2 MB, free: 36.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=65): time 0.002573/0.2137, allocations: 2.364 MB / 470.6 MB, free: 35.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.2137, allocations: 109.8 kB / 470.7 MB, free: 34.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005433/0.2143, allocations: 0.7771 MB / 471.5 MB, free: 34.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.2143, allocations: 41.02 kB / 471.5 MB, free: 34.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.2145, allocations: 0.5055 MB / 472 MB, free: 34.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.534e-05/0.2146, allocations: 252.7 kB / 472.3 MB, free: 34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/0.2147, allocations: 186.7 kB / 472.4 MB, free: 33.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.857e-05/0.2148, allocations: 406.9 kB / 472.8 MB, free: 33.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003305/0.2151, allocations: 373.1 kB / 473.2 MB, free: 33.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004021/0.2155, allocations: 0.6819 MB / 473.9 MB, free: 32.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007626/0.2163, allocations: 1.051 MB / 474.9 MB, free: 32.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.2163, allocations: 2.812 kB / 474.9 MB, free: 32.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001575/0.2179, allocations: 1.539 MB / 476.5 MB, free: 31.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.2179, allocations: 10.78 kB / 476.5 MB, free: 31.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.2179, allocations: 9.688 kB / 476.5 MB, free: 31.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008014/0.2187, allocations: 489.7 kB / 477 MB, free: 31.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003177/0.219, allocations: 170.4 kB / 477.1 MB, free: 31.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005383/0.2244, allocations: 6.81 MB / 484 MB, free: 27.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005383/0.2249, allocations: 42.39 kB / 484 MB, free: 27.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.776e-05/0.225, allocations: 46.14 kB / 484 MB, free: 27.23 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.0004166/0.2254, allocations: 361.2 kB / 484.4 MB, free: 27.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.743e-05/0.2255, allocations: 91.64 kB / 484.5 MB, free: 26.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001105/0.2266, allocations: 0.9581 MB / 485.4 MB, free: 26.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.2266, allocations: 11.06 kB / 485.5 MB, free: 26.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.2266, allocations: 2.438 kB / 485.5 MB, free: 26.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.2266, allocations: 8.391 kB / 485.5 MB, free: 26.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00212/0.2287, allocations: 1.847 MB / 487.3 MB, free: 25.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.2287, allocations: 2.641 kB / 487.3 MB, free: 25.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004463/0.2292, allocations: 123.7 kB / 487.4 MB, free: 25.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003166/0.2295, allocations: 161 kB / 487.6 MB, free: 25.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.409e-05/0.2295, allocations: 24.7 kB / 487.6 MB, free: 25.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002024/0.2316, allocations: 4.483 MB / 492.1 MB, free: 21.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.2316, allocations: 3.234 kB / 492.1 MB, free: 21.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.2331, allocations: 1.381 MB / 493.5 MB, free: 20.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002386/0.2333, allocations: 143.9 kB / 493.6 MB, free: 20.85 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.61e-05/0.2334, allocations: 21.53 kB / 493.6 MB, free: 20.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.2336, allocations: 29.98 kB / 493.7 MB, free: 20.83 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.2338, allocations: 56.27 kB / 493.7 MB, free: 20.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-05/0.2338, allocations: 23.92 kB / 493.8 MB, free: 20.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005476/0.2343, allocations: 0.5221 MB / 494.3 MB, free: 20.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2343, allocations: 0 / 494.3 MB, free: 20.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008873/0.2352, allocations: 284.3 kB / 494.6 MB, free: 20.55 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.002369/0.2376, allocations: 2.323 MB / 496.9 MB, free: 19.28 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001786/0.2394, allocations: 1.283 MB / 498.2 MB, free: 18.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2394, allocations: 1.375 kB / 498.2 MB, free: 18.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007187/0.2401, allocations: 0.7586 MB / 498.9 MB, free: 18.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006879/0.2408, allocations: 226.4 kB / 499.1 MB, free: 18.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01148/0.2523, allocations: 9.419 MB / 0.4966 GB, free: 13.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005772/0.2529, allocations: 0.5485 MB / 0.4972 GB, free: 13.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006544/0.2535, allocations: 232.7 kB / 0.4974 GB, free: 13.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003785/0.2539, allocations: 368.7 kB / 0.4977 GB, free: 12.83 MB / 410.7 MB Notification: Performance of SimCode: time 1.322e-06/0.2539, allocations: 1.281 kB / 0.4977 GB, free: 12.83 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04714/0.301, allocations: 25.47 MB / 0.5226 GB, free: 7.836 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.432/8.733, allocations: 14.61 kB / 0.5226 GB, free: 7.828 MB / 426.7 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_fmu --startTime=0 --stopTime=60 --stepSize=0.05 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.630510671064258] Failed to read output from testmodel.py, exit status != 0: 8.851959998719394 8.86976651 8.666588682 Calling exit ...