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.001437/0.001437, allocations: 116.1 kB / 21.23 MB, free: 0.6016 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.001695/0.001695, allocations: 221 kB / 24.54 MB, free: 3.812 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.5/1.5, allocations: 230.6 MB / 258.3 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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.1884/0.1884, allocations: 38.54 MB / 353.3 MB, free: 12.53 MB / 286.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Drives.ASMav,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav",fmuType="cs",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.002066/0.002066, allocations: 67.91 kB / 493.3 MB, free: 4.875 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3314, allocations: 62.45 MB / 0.5428 GB, free: 452 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.01077/0.3421, allocations: 7.342 MB / 0.5499 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009661/0.3518, allocations: 5.337 MB / 0.5551 GB, free: 6.484 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.3528, allocations: 40.56 kB / 0.5552 GB, free: 6.465 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01435/0.3672, allocations: 6.613 MB / 0.5616 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001904/0.3691, allocations: 0.5676 MB / 0.5622 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001739/0.3708, allocations: 0.4951 MB / 0.5627 GB, free: 104 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005262/0.3761, allocations: 2.397 MB / 0.565 GB, free: 13.7 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001482/0.3776, allocations: 0.8649 MB / 0.5659 GB, free: 12.82 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001596/0.3792, allocations: 0.6228 MB / 0.5665 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001296/0.3805, allocations: 0.7824 MB / 0.5672 GB, free: 11.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001909/0.3806, allocations: 104 kB / 0.5673 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007645/0.3814, allocations: 323.6 kB / 0.5676 GB, free: 10.99 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005128/0.3819, allocations: 0.4987 MB / 0.5681 GB, free: 10.49 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007426/0.3827, allocations: 0.5909 MB / 0.5687 GB, free: 9.895 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002392/0.3851, allocations: 1.604 MB / 0.5703 GB, free: 8.285 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.3851, allocations: 0 / 0.5703 GB, free: 8.285 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.3851, allocations: 0 / 0.5703 GB, free: 8.285 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.406e-05/0.3851, allocations: 0 / 0.5703 GB, free: 8.285 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.004082/0.3892, allocations: 1.442 MB / 0.5717 GB, free: 6.805 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.232e-05/0.3893, allocations: 11.98 kB / 0.5717 GB, free: 6.793 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.511e-05/0.3893, allocations: 22.19 kB / 0.5717 GB, free: 6.773 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002009/0.3895, allocations: 143.6 kB / 0.5719 GB, free: 6.625 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000856/0.3904, allocations: 188.1 kB / 0.572 GB, free: 6.441 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002047/0.3924, allocations: 0.8414 MB / 0.5729 GB, free: 5.566 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.204e-05/0.3925, allocations: 58 kB / 0.5729 GB, free: 5.512 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002293/0.3927, allocations: 91.92 kB / 0.573 GB, free: 5.422 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002303/0.395, allocations: 1.235 MB / 0.5742 GB, free: 4.113 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.388e-05/0.3951, allocations: 11.94 kB / 0.5742 GB, free: 4.102 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.3952, allocations: 28 kB / 0.5742 GB, free: 4.074 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000292/0.3954, allocations: 97.88 kB / 0.5743 GB, free: 3.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001849/0.3973, allocations: 0.9953 MB / 0.5753 GB, free: 2.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007622/0.4049, allocations: 4.74 MB / 0.5799 GB, free: 14.06 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.406, allocations: 0.5379 MB / 0.5805 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005836/0.4066, allocations: 331.3 kB / 0.5808 GB, free: 13.17 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.181e-05/0.4066, allocations: 12.44 kB / 0.5808 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007404/0.4073, allocations: 440.8 kB / 0.5812 GB, free: 12.71 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.785e-06/0.4074, allocations: 0 / 0.5812 GB, free: 12.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.005279/0.4126, allocations: 2.389 MB / 0.5835 GB, free: 10.28 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.157e-05/0.4127, allocations: 119.4 kB / 0.5837 GB, free: 10.14 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.4138, allocations: 0.7586 MB / 0.5844 GB, free: 9.371 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.368e-05/0.4139, allocations: 45.64 kB / 0.5844 GB, free: 9.32 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004555/0.4143, allocations: 0.5077 MB / 0.5849 GB, free: 8.805 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003134/0.4146, allocations: 245.9 kB / 0.5852 GB, free: 8.562 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003287/0.415, allocations: 182.5 kB / 0.5853 GB, free: 8.379 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000254/0.4152, allocations: 402.7 kB / 0.5857 GB, free: 7.977 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006817/0.4159, allocations: 373.7 kB / 0.5861 GB, free: 7.609 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/0.4169, allocations: 0.6539 MB / 0.5867 GB, free: 6.828 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001763/0.4187, allocations: 1.053 MB / 0.5878 GB, free: 5.652 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.4187, allocations: 8 kB / 0.5878 GB, free: 5.645 MB / 430.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003603/0.4223, allocations: 1.536 MB / 0.5893 GB, free: 4.094 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.143e-05/0.4223, allocations: 8 kB / 0.5893 GB, free: 4.086 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-05/0.4223, allocations: 12.5 kB / 0.5893 GB, free: 4.074 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001695/0.424, allocations: 497.7 kB / 0.5898 GB, free: 3.582 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007316/0.4248, allocations: 163.7 kB / 0.5899 GB, free: 3.422 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01142/0.4362, allocations: 6.877 MB / 0.5966 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008609/0.437, allocations: 51.98 kB / 0.5967 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.4371, allocations: 44 kB / 0.5967 GB, free: 12.22 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.0006033/0.4377, allocations: 361.3 kB / 0.5971 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/0.4379, allocations: 91.44 kB / 0.5972 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00209/0.44, allocations: 0.9538 MB / 0.5981 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.44, allocations: 8.125 kB / 0.5981 GB, free: 10.78 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.33e-05/0.44, allocations: 11.98 kB / 0.5981 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.44, allocations: 0 / 0.5981 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00412/0.4442, allocations: 1.95 MB / 0.6 GB, free: 8.754 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/0.4442, allocations: 4 kB / 0.6 GB, free: 8.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007844/0.445, allocations: 119.8 kB / 0.6001 GB, free: 8.633 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005641/0.4455, allocations: 166.4 kB / 0.6003 GB, free: 8.461 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-05/0.4456, allocations: 23.92 kB / 0.6003 GB, free: 8.438 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004992/0.4506, allocations: 4.495 MB / 0.6047 GB, free: 3.602 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/0.4506, allocations: 11.91 kB / 0.6047 GB, free: 3.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002725/0.4533, allocations: 1.39 MB / 0.6061 GB, free: 2.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004612/0.4538, allocations: 135.4 kB / 0.6062 GB, free: 2.027 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/0.4539, allocations: 23.98 kB / 0.6062 GB, free: 2.004 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004967/0.4544, allocations: 31.97 kB / 0.6062 GB, free: 1.973 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/0.4546, allocations: 52.34 kB / 0.6063 GB, free: 1.922 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.644e-05/0.4546, allocations: 23.98 kB / 0.6063 GB, free: 1.898 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007627/0.4554, allocations: 0.5224 MB / 0.6068 GB, free: 1.379 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4554, allocations: 4 kB / 0.6068 GB, free: 1.375 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00108/0.4565, allocations: 279.9 kB / 0.6071 GB, free: 1.102 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.004316/0.4608, allocations: 2.305 MB / 0.6094 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00289/0.4637, allocations: 1.271 MB / 0.6106 GB, free: 13.61 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.4637, allocations: 9.375 kB / 0.6106 GB, free: 13.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001488/0.4652, allocations: 0.7686 MB / 0.6114 GB, free: 12.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.4664, allocations: 215 kB / 0.6116 GB, free: 12.59 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0182/0.4846, allocations: 9.721 MB / 0.6211 GB, free: 2.461 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001102/0.4857, allocations: 1.147 MB / 0.6222 GB, free: 1.285 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008599/0.4866, allocations: 231.3 kB / 0.6224 GB, free: 1.055 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006154/0.4872, allocations: 367.3 kB / 0.6227 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of SimCode: time 1.172e-06/0.4872, allocations: 4 kB / 0.6227 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07229/0.5595, allocations: 25.37 MB / 0.6475 GB, free: 7.465 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.99/18.55, allocations: 6.484 kB / 0.6475 GB, free: 7.461 MB / 494.1 MB " [Timeout remaining time 641] (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: 21.611677247972693] Failed to read output from testmodel.py, exit status != 0: 18.79180302802706 18.810496191 18.421596779 Calling exit ...