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.001783/0.001783, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002326/0.002326, allocations: 214.9 kB / 24.52 MB, free: 3.941 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.459/1.459, allocations: 230.6 MB / 258.3 MB, free: 7.809 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.1903/0.1903, allocations: 38.55 MB / 353.2 MB, free: 12.35 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.002067/0.002067, allocations: 63.91 kB / 493.3 MB, free: 4.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3164, allocations: 62.46 MB / 0.5427 GB, free: 300 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.008994/0.3254, allocations: 6.78 MB / 0.5493 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008196/0.3336, allocations: 4.845 MB / 0.5541 GB, free: 7.457 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007222/0.3343, allocations: 39.78 kB / 0.5541 GB, free: 7.438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01712/0.3514, allocations: 6.555 MB / 0.5605 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00252/0.354, allocations: 0.5598 MB / 0.561 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002057/0.356, allocations: 0.5105 MB / 0.5615 GB, free: 1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004602/0.3606, allocations: 2.386 MB / 0.5639 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001752/0.3624, allocations: 0.8727 MB / 0.5647 GB, free: 13.72 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001456/0.3638, allocations: 0.6227 MB / 0.5653 GB, free: 13.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001558/0.3654, allocations: 0.7825 MB / 0.5661 GB, free: 12.31 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003309/0.3657, allocations: 104 kB / 0.5662 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009564/0.3667, allocations: 311.7 kB / 0.5665 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006943/0.3674, allocations: 0.4986 MB / 0.567 GB, free: 11.4 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000926/0.3683, allocations: 485.8 kB / 0.5674 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00252/0.3708, allocations: 1.619 MB / 0.569 GB, free: 9.301 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3708, allocations: 7.984 kB / 0.569 GB, free: 9.293 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3708, allocations: 0 / 0.569 GB, free: 9.293 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.303e-05/0.3709, allocations: 0 / 0.569 GB, free: 9.293 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.003525/0.3744, allocations: 1.434 MB / 0.5704 GB, free: 7.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.3744, allocations: 11.98 kB / 0.5704 GB, free: 7.809 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.822e-05/0.3745, allocations: 22.19 kB / 0.5705 GB, free: 7.789 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002056/0.3747, allocations: 139.6 kB / 0.5706 GB, free: 7.645 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008444/0.3755, allocations: 184.1 kB / 0.5708 GB, free: 7.465 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001947/0.3775, allocations: 0.8453 MB / 0.5716 GB, free: 6.586 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.446e-05/0.3775, allocations: 65.92 kB / 0.5717 GB, free: 6.523 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001981/0.3777, allocations: 95.94 kB / 0.5717 GB, free: 6.43 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002111/0.3798, allocations: 1.256 MB / 0.573 GB, free: 5.094 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.15e-05/0.3799, allocations: 0 / 0.573 GB, free: 5.094 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/0.38, allocations: 35.98 kB / 0.573 GB, free: 5.059 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002592/0.3802, allocations: 93.88 kB / 0.5731 GB, free: 4.969 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001856/0.3821, allocations: 1.007 MB / 0.5741 GB, free: 3.957 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007389/0.3895, allocations: 4.514 MB / 0.5785 GB, free: 15.26 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.3905, allocations: 0.5425 MB / 0.579 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006237/0.3912, allocations: 331 kB / 0.5793 GB, free: 14.37 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.505e-05/0.3912, allocations: 8.5 kB / 0.5793 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000748/0.392, allocations: 456.7 kB / 0.5798 GB, free: 13.9 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.655e-06/0.392, allocations: 0 / 0.5798 GB, free: 13.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.005203/0.3972, allocations: 2.372 MB / 0.5821 GB, free: 11.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.823e-05/0.3973, allocations: 111.5 kB / 0.5822 GB, free: 11.35 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.3984, allocations: 0.7586 MB / 0.5829 GB, free: 10.58 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.294e-05/0.3984, allocations: 41.7 kB / 0.583 GB, free: 10.54 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000484/0.3989, allocations: 0.5077 MB / 0.5835 GB, free: 10.02 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002635/0.3992, allocations: 249.9 kB / 0.5837 GB, free: 9.773 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003283/0.3995, allocations: 186.5 kB / 0.5839 GB, free: 9.586 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002339/0.3998, allocations: 398.7 kB / 0.5843 GB, free: 9.188 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000699/0.4005, allocations: 373.8 kB / 0.5846 GB, free: 8.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009059/0.4014, allocations: 0.6751 MB / 0.5853 GB, free: 8.012 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001556/0.4029, allocations: 1.057 MB / 0.5863 GB, free: 6.832 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/0.4029, allocations: 8 kB / 0.5863 GB, free: 6.824 MB / 430.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003356/0.4063, allocations: 1.54 MB / 0.5878 GB, free: 5.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.4063, allocations: 8 kB / 0.5878 GB, free: 5.262 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.4063, allocations: 8 kB / 0.5878 GB, free: 5.254 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001729/0.4081, allocations: 494.1 kB / 0.5883 GB, free: 4.766 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007229/0.4088, allocations: 167.7 kB / 0.5885 GB, free: 4.602 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01075/0.4195, allocations: 6.806 MB / 0.5951 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008175/0.4204, allocations: 51.98 kB / 0.5952 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/0.4205, allocations: 44 kB / 0.5952 GB, free: 13.47 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.0006593/0.4212, allocations: 361.5 kB / 0.5956 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002061/0.4214, allocations: 91.44 kB / 0.5956 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002037/0.4234, allocations: 0.9654 MB / 0.5966 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.4234, allocations: 4 kB / 0.5966 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.4234, allocations: 4 kB / 0.5966 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.4234, allocations: 0 / 0.5966 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004163/0.4276, allocations: 1.861 MB / 0.5984 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.898e-06/0.4276, allocations: 0 / 0.5984 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008388/0.4284, allocations: 124 kB / 0.5985 GB, free: 9.973 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006097/0.429, allocations: 166.3 kB / 0.5987 GB, free: 9.801 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.602e-05/0.4291, allocations: 27.86 kB / 0.5987 GB, free: 9.773 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004657/0.4338, allocations: 4.479 MB / 0.6031 GB, free: 4.953 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.4338, allocations: 4.031 kB / 0.6031 GB, free: 4.949 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002587/0.4364, allocations: 1.387 MB / 0.6045 GB, free: 3.523 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004226/0.4368, allocations: 139.4 kB / 0.6046 GB, free: 3.387 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001714/0.437, allocations: 19.98 kB / 0.6046 GB, free: 3.367 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005178/0.4375, allocations: 31.97 kB / 0.6046 GB, free: 3.336 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.4376, allocations: 56.28 kB / 0.6047 GB, free: 3.281 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-05/0.4377, allocations: 23.98 kB / 0.6047 GB, free: 3.258 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007996/0.4385, allocations: 0.5263 MB / 0.6052 GB, free: 2.734 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4385, allocations: 0 / 0.6052 GB, free: 2.734 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001149/0.4396, allocations: 279.9 kB / 0.6055 GB, free: 2.461 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.004509/0.4442, allocations: 2.329 MB / 0.6078 GB, free: 272 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002834/0.447, allocations: 1.279 MB / 0.609 GB, free: 14.96 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.447, allocations: 1.438 kB / 0.609 GB, free: 14.96 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00147/0.4485, allocations: 0.7725 MB / 0.6098 GB, free: 14.15 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.4497, allocations: 218.4 kB / 0.61 GB, free: 13.95 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0185/0.4682, allocations: 9.719 MB / 0.6195 GB, free: 3.824 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009196/0.4691, allocations: 0.553 MB / 0.62 GB, free: 3.238 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008154/0.4699, allocations: 235.3 kB / 0.6202 GB, free: 3.004 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006138/0.4706, allocations: 355.3 kB / 0.6206 GB, free: 2.656 MB / 462.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4706, allocations: 0 / 0.6206 GB, free: 2.656 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06844/0.539, allocations: 25.27 MB / 0.6453 GB, free: 9.602 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.06/18.6, allocations: 9.844 kB / 0.6453 GB, free: 9.598 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.722873608930968] Failed to read output from testmodel.py, exit status != 0: 18.85068270692136 18.877094204 18.50125419 Calling exit ...