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.002006/0.002006, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.002141/0.002141, allocations: 214.3 kB / 23.73 MB, free: 4.16 MB / 14.72 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 1.524/1.524, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.188/0.188, allocations: 38.55 MB / 352.5 MB, free: 12.33 MB / 286.1 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002219/0.002219, allocations: 59.91 kB / 492.5 MB, free: 4.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3567, allocations: 62.47 MB / 0.5419 GB, free: 260 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.01027/0.3669, allocations: 6.784 MB / 0.5486 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009483/0.3764, allocations: 4.852 MB / 0.5533 GB, free: 7.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007206/0.3771, allocations: 43.31 kB / 0.5533 GB, free: 7.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01304/0.3902, allocations: 6.491 MB / 0.5597 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001874/0.3921, allocations: 0.552 MB / 0.5602 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001425/0.3935, allocations: 0.5145 MB / 0.5607 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003614/0.3971, allocations: 2.378 MB / 0.5631 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001263/0.3984, allocations: 0.8532 MB / 0.5639 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000969/0.3993, allocations: 0.6266 MB / 0.5645 GB, free: 13.14 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0011/0.4004, allocations: 0.7434 MB / 0.5652 GB, free: 12.39 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001787/0.4006, allocations: 104 kB / 0.5653 GB, free: 12.29 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000743/0.4013, allocations: 307.7 kB / 0.5656 GB, free: 11.99 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000554/0.4019, allocations: 0.4948 MB / 0.5661 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005411/0.4024, allocations: 493.8 kB / 0.5666 GB, free: 11.01 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001991/0.4044, allocations: 1.615 MB / 0.5681 GB, free: 9.391 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.4044, allocations: 7.938 kB / 0.5682 GB, free: 9.383 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4044, allocations: 0 / 0.5682 GB, free: 9.383 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.26e-05/0.4045, allocations: 0 / 0.5682 GB, free: 9.383 MB / 414.1 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.003235/0.4077, allocations: 1.432 MB / 0.5696 GB, free: 7.914 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.4078, allocations: 15.98 kB / 0.5696 GB, free: 7.898 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001885/0.4079, allocations: 139.6 kB / 0.5697 GB, free: 7.754 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008261/0.4088, allocations: 192 kB / 0.5699 GB, free: 7.566 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001959/0.4107, allocations: 0.8377 MB / 0.5707 GB, free: 6.699 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.912e-05/0.4108, allocations: 61.98 kB / 0.5708 GB, free: 6.637 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/0.411, allocations: 91.94 kB / 0.5708 GB, free: 6.547 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002058/0.413, allocations: 1.264 MB / 0.5721 GB, free: 5.207 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.258e-05/0.4131, allocations: 7.938 kB / 0.5721 GB, free: 5.199 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.424e-05/0.4132, allocations: 35.98 kB / 0.5721 GB, free: 5.164 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002349/0.4134, allocations: 89.88 kB / 0.5722 GB, free: 5.074 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001708/0.4151, allocations: 0.9914 MB / 0.5732 GB, free: 4.082 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007722/0.4228, allocations: 4.521 MB / 0.5776 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.4239, allocations: 0.5424 MB / 0.5781 GB, free: 14.81 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006808/0.4246, allocations: 331 kB / 0.5784 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.316e-05/0.4246, allocations: 12.48 kB / 0.5785 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007251/0.4254, allocations: 452.7 kB / 0.5789 GB, free: 14.01 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.334e-06/0.4254, allocations: 0 / 0.5789 GB, free: 14.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.005309/0.4307, allocations: 2.372 MB / 0.5812 GB, free: 11.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/0.4308, allocations: 111.5 kB / 0.5813 GB, free: 11.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/0.4322, allocations: 0.7779 MB / 0.5821 GB, free: 10.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.749e-05/0.4323, allocations: 37.7 kB / 0.5821 GB, free: 10.63 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000565/0.4329, allocations: 0.5078 MB / 0.5826 GB, free: 10.12 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003131/0.4332, allocations: 253.8 kB / 0.5828 GB, free: 9.867 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003287/0.4335, allocations: 182.6 kB / 0.583 GB, free: 9.684 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002991/0.4338, allocations: 402.7 kB / 0.5834 GB, free: 9.281 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006709/0.4345, allocations: 369.8 kB / 0.5837 GB, free: 8.918 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.4355, allocations: 0.6829 MB / 0.5844 GB, free: 8.105 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001621/0.4371, allocations: 1.057 MB / 0.5854 GB, free: 6.926 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/0.4371, allocations: 4 kB / 0.5855 GB, free: 6.922 MB / 430.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003699/0.4408, allocations: 1.533 MB / 0.5869 GB, free: 5.375 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/0.4409, allocations: 11.94 kB / 0.587 GB, free: 5.363 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/0.4409, allocations: 8 kB / 0.587 GB, free: 5.355 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001601/0.4425, allocations: 489.9 kB / 0.5874 GB, free: 4.871 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006413/0.4431, allocations: 167.7 kB / 0.5876 GB, free: 4.707 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01082/0.4539, allocations: 6.817 MB / 0.5943 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007743/0.4547, allocations: 48.03 kB / 0.5943 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.364e-05/0.4548, allocations: 43.98 kB / 0.5943 GB, free: 13.57 MB / 446.1 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.0005984/0.4554, allocations: 349.5 kB / 0.5947 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.4555, allocations: 91.39 kB / 0.5948 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001969/0.4575, allocations: 0.9693 MB / 0.5957 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.4575, allocations: 8 kB / 0.5957 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.4575, allocations: 4 kB / 0.5957 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.4575, allocations: 3.984 kB / 0.5957 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003756/0.4613, allocations: 1.849 MB / 0.5975 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.351e-06/0.4613, allocations: 7.938 kB / 0.5975 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007376/0.462, allocations: 132 kB / 0.5977 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005478/0.4626, allocations: 166.4 kB / 0.5978 GB, free: 9.895 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.617e-05/0.4626, allocations: 19.98 kB / 0.5978 GB, free: 9.875 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004671/0.4673, allocations: 4.483 MB / 0.6022 GB, free: 5.051 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4673, allocations: 4 kB / 0.6022 GB, free: 5.047 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002482/0.4698, allocations: 1.387 MB / 0.6036 GB, free: 3.621 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003935/0.4702, allocations: 135.4 kB / 0.6037 GB, free: 3.488 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.4703, allocations: 19.98 kB / 0.6037 GB, free: 3.469 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004381/0.4707, allocations: 31.97 kB / 0.6038 GB, free: 3.438 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.4709, allocations: 52.34 kB / 0.6038 GB, free: 3.387 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.415e-05/0.4709, allocations: 23.98 kB / 0.6038 GB, free: 3.363 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008289/0.4718, allocations: 0.5224 MB / 0.6043 GB, free: 2.848 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4718, allocations: 4 kB / 0.6043 GB, free: 2.844 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001127/0.4729, allocations: 283.8 kB / 0.6046 GB, free: 2.566 MB / 446.1 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.004482/0.4774, allocations: 2.337 MB / 0.6069 GB, free: 376 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002693/0.4801, allocations: 1.275 MB / 0.6081 GB, free: 15.06 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.4801, allocations: 0 / 0.6081 GB, free: 15.06 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001373/0.4814, allocations: 0.7661 MB / 0.6089 GB, free: 14.26 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.4826, allocations: 218.5 kB / 0.6091 GB, free: 14.05 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01676/0.4993, allocations: 9.72 MB / 0.6186 GB, free: 3.934 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007481/0.5001, allocations: 0.5491 MB / 0.6191 GB, free: 3.352 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000725/0.5008, allocations: 235.3 kB / 0.6193 GB, free: 3.117 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005443/0.5014, allocations: 363.3 kB / 0.6197 GB, free: 2.762 MB / 462.1 MB Notification: Performance of SimCode: time 1.322e-06/0.5014, allocations: 3.938 kB / 0.6197 GB, free: 2.758 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08889/0.5902, allocations: 25.34 MB / 0.6444 GB, free: 9.609 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.06/14.65, allocations: 11.31 kB / 0.6444 GB, free: 9.605 MB / 494.1 MB " [Timeout remaining time 645] (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: 17.838906755670905] Failed to read output from testmodel.py, exit status != 0: 14.846052679698914 14.862267285 14.454222584 Calling exit ...