Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.0009525/0.0009525, allocations: 79.7 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.001195/0.001195, allocations: 170 kB / 23.95 MB, free: 0.6133 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.9012/0.9012, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2076/0.2076, allocations: 29.4 MB / 290.1 MB, free: 2.449 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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_latest_PowerSystems_Examples_AC3ph_Drives_ASMav",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Drives.ASMav,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.073e-06/2.073e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.858e-05/2.065e-05, allocations: 2.281 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.007454/0.007475, allocations: 6.761 MB / 437 MB, free: 6.797 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00532/0.01279, allocations: 4.849 MB / 441.8 MB, free: 1.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004485/0.01324, allocations: 43.62 kB / 441.9 MB, free: 1.887 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.168/0.1812, allocations: 6.527 MB / 448.4 MB, free: 43.65 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001358/0.1826, allocations: 0.5771 MB / 449 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009108/0.1835, allocations: 0.5151 MB / 449.5 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001592/0.1851, allocations: 2.422 MB / 451.9 MB, free: 43.36 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006301/0.1857, allocations: 0.8594 MB / 452.8 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006076/0.1863, allocations: 0.8393 MB / 453.6 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005304/0.1868, allocations: 0.6816 MB / 454.3 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.23e-05/0.1869, allocations: 104.4 kB / 454.4 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004218/0.1874, allocations: 306.6 kB / 454.7 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002538/0.1876, allocations: 0.5227 MB / 455.2 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002514/0.1879, allocations: 405.4 kB / 455.6 MB, free: 42.78 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009679/0.1888, allocations: 1.634 MB / 457.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.1888, allocations: 0 / 457.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1888, allocations: 3 kB / 457.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.1888, allocations: 0 / 457.2 MB, free: 42.27 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.001553/0.1904, allocations: 1.429 MB / 458.7 MB, free: 41.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.1904, allocations: 13.83 kB / 458.7 MB, free: 41.4 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.793e-05/0.1905, allocations: 139.7 kB / 458.8 MB, free: 41.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004114/0.1909, allocations: 186.9 kB / 459 MB, free: 41.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009136/0.1919, allocations: 0.8365 MB / 459.8 MB, free: 40.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.454e-05/0.1919, allocations: 67.33 kB / 459.9 MB, free: 40.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.89e-05/0.192, allocations: 93.02 kB / 460 MB, free: 40.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009465/0.1929, allocations: 1.263 MB / 461.3 MB, free: 40.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/0.193, allocations: 9.766 kB / 461.3 MB, free: 40.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.096e-05/0.193, allocations: 29.69 kB / 461.3 MB, free: 40.13 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001065/0.1931, allocations: 91.66 kB / 461.4 MB, free: 40.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008718/0.194, allocations: 0.993 MB / 462.4 MB, free: 39.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003029/0.197, allocations: 4.519 MB / 466.9 MB, free: 36.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005231/0.1975, allocations: 0.543 MB / 467.4 MB, free: 36.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003014/0.1978, allocations: 338 kB / 467.8 MB, free: 36.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.74e-05/0.1979, allocations: 9.656 kB / 467.8 MB, free: 36.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003705/0.1983, allocations: 450 kB / 468.2 MB, free: 36.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=62): time 1.533e-06/0.1983, allocations: 0 / 468.2 MB, free: 36.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=65): time 0.002391/0.2006, allocations: 2.357 MB / 470.6 MB, free: 35.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.2007, allocations: 115.8 kB / 470.7 MB, free: 34.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004782/0.2012, allocations: 0.7793 MB / 471.5 MB, free: 34.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.402e-05/0.2012, allocations: 36.73 kB / 471.5 MB, free: 34.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.2013, allocations: 0.5089 MB / 472 MB, free: 34.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.07e-05/0.2014, allocations: 253.2 kB / 472.3 MB, free: 34.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.2016, allocations: 184.1 kB / 472.4 MB, free: 33.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.219e-05/0.2016, allocations: 400.8 kB / 472.8 MB, free: 33.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003241/0.202, allocations: 374 kB / 473.2 MB, free: 33.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003951/0.2024, allocations: 0.6876 MB / 473.9 MB, free: 32.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007452/0.2031, allocations: 1.052 MB / 474.9 MB, free: 32.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.2031, allocations: 2.844 kB / 474.9 MB, free: 32.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001519/0.2046, allocations: 1.537 MB / 476.5 MB, free: 31.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.2046, allocations: 11.31 kB / 476.5 MB, free: 31.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.2047, allocations: 9.031 kB / 476.5 MB, free: 31.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007672/0.2054, allocations: 490.9 kB / 477 MB, free: 31.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/0.2057, allocations: 168.5 kB / 477.1 MB, free: 31.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005245/0.211, allocations: 6.809 MB / 484 MB, free: 27.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003361/0.2113, allocations: 45.16 kB / 484 MB, free: 27.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.187e-05/0.2114, allocations: 46.03 kB / 484 MB, free: 27.24 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.0003308/0.2117, allocations: 353 kB / 484.4 MB, free: 27.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.904e-05/0.2118, allocations: 92.33 kB / 484.5 MB, free: 26.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/0.2129, allocations: 0.9629 MB / 485.4 MB, free: 26.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.2129, allocations: 6.562 kB / 485.5 MB, free: 26.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2129, allocations: 5.016 kB / 485.5 MB, free: 26.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.2129, allocations: 5.469 kB / 485.5 MB, free: 26.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001913/0.2148, allocations: 1.851 MB / 487.3 MB, free: 25.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2148, allocations: 1.375 kB / 487.3 MB, free: 25.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003712/0.2152, allocations: 123.8 kB / 487.4 MB, free: 25.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002914/0.2155, allocations: 165.1 kB / 487.6 MB, free: 25.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.934e-05/0.2155, allocations: 24.88 kB / 487.6 MB, free: 25.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001955/0.2175, allocations: 4.475 MB / 492.1 MB, free: 21.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.2175, allocations: 1.938 kB / 492.1 MB, free: 21.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/0.2188, allocations: 1.386 MB / 493.5 MB, free: 20.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/0.219, allocations: 146.1 kB / 493.6 MB, free: 20.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.303e-05/0.219, allocations: 22.81 kB / 493.6 MB, free: 20.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.2193, allocations: 30.08 kB / 493.7 MB, free: 20.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.993e-05/0.2194, allocations: 54.02 kB / 493.7 MB, free: 20.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.254e-05/0.2194, allocations: 23.36 kB / 493.8 MB, free: 20.83 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004769/0.2199, allocations: 0.5191 MB / 494.3 MB, free: 20.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 3e-08/0.2199, allocations: 4 kB / 494.3 MB, free: 20.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006913/0.2206, allocations: 276.3 kB / 494.5 MB, free: 20.57 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.002321/0.2229, allocations: 2.327 MB / 496.9 MB, free: 19.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001436/0.2243, allocations: 1.283 MB / 498.2 MB, free: 18.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2243, allocations: 0 / 498.2 MB, free: 18.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006478/0.225, allocations: 0.7646 MB / 498.9 MB, free: 18.26 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006001/0.2256, allocations: 228 kB / 499.1 MB, free: 18.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009177/0.2347, allocations: 9.416 MB / 0.4966 GB, free: 13.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005161/0.2353, allocations: 0.552 MB / 0.4972 GB, free: 13.17 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004746/0.2357, allocations: 233.8 kB / 0.4974 GB, free: 13.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003061/0.236, allocations: 363.9 kB / 0.4977 GB, free: 12.85 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/0.236, allocations: 1.375 kB / 0.4978 GB, free: 12.85 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03892/0.275, allocations: 25.48 MB / 0.5226 GB, free: 7.824 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.481/8.756, allocations: 7.312 kB / 0.5226 GB, free: 7.82 MB / 426.7 MB " [Timeout remaining time 651] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_fmu --startTime=0 --stopTime=60 --stepSize=0.05 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.695200936868787] Failed to read output from testmodel.py, exit status != 0: 8.875734573230147 8.885107902 8.694510645 Calling exit ...