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.001337/0.001337, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001503/0.001503, allocations: 215.7 kB / 23.75 MB, free: 4.668 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.509/1.509, allocations: 230.6 MB / 257.5 MB, free: 8 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.1959/0.1959, allocations: 38.52 MB / 352.5 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 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.002112/0.002112, allocations: 71.83 kB / 492.6 MB, free: 4.859 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3118, allocations: 62.46 MB / 0.542 GB, free: 408 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.01115/0.3229, allocations: 7.342 MB / 0.5492 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01008/0.333, allocations: 5.33 MB / 0.5544 GB, free: 6.449 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001187/0.3342, allocations: 39.09 kB / 0.5544 GB, free: 6.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01483/0.349, allocations: 6.618 MB / 0.5609 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001791/0.3508, allocations: 0.5637 MB / 0.5614 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001433/0.3522, allocations: 0.4948 MB / 0.5619 GB, free: 68 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003799/0.356, allocations: 2.397 MB / 0.5643 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001269/0.3573, allocations: 0.8571 MB / 0.5651 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001163/0.3585, allocations: 0.6344 MB / 0.5657 GB, free: 12.15 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001221/0.3597, allocations: 0.7786 MB / 0.5665 GB, free: 11.37 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002096/0.3599, allocations: 100 kB / 0.5666 GB, free: 11.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007401/0.3606, allocations: 327.7 kB / 0.5669 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005358/0.3612, allocations: 0.5025 MB / 0.5674 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006712/0.3619, allocations: 0.5793 MB / 0.5679 GB, free: 9.867 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002075/0.3639, allocations: 1.615 MB / 0.5695 GB, free: 8.246 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3639, allocations: 0 / 0.5695 GB, free: 8.246 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3639, allocations: 0 / 0.5695 GB, free: 8.246 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.818e-05/0.364, allocations: 0 / 0.5695 GB, free: 8.246 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.003293/0.3673, allocations: 1.434 MB / 0.5709 GB, free: 6.773 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.3673, allocations: 15.62 kB / 0.5709 GB, free: 6.762 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000185/0.3675, allocations: 139.6 kB / 0.5711 GB, free: 6.617 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008165/0.3683, allocations: 188.1 kB / 0.5712 GB, free: 6.434 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001979/0.3703, allocations: 0.8455 MB / 0.5721 GB, free: 5.559 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.743e-05/0.3703, allocations: 58 kB / 0.5721 GB, free: 5.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001927/0.3705, allocations: 91.88 kB / 0.5722 GB, free: 5.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002007/0.3725, allocations: 1.227 MB / 0.5734 GB, free: 4.113 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.437e-05/0.3726, allocations: 11.98 kB / 0.5734 GB, free: 4.102 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.234e-05/0.3727, allocations: 32 kB / 0.5735 GB, free: 4.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002527/0.3729, allocations: 89.89 kB / 0.5735 GB, free: 3.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/0.3747, allocations: 1.007 MB / 0.5745 GB, free: 2.973 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007605/0.3823, allocations: 4.743 MB / 0.5792 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.3834, allocations: 0.542 MB / 0.5797 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006337/0.384, allocations: 327.1 kB / 0.58 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.082e-05/0.3841, allocations: 12.48 kB / 0.58 GB, free: 13.14 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008045/0.3849, allocations: 452.7 kB / 0.5804 GB, free: 12.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.224e-06/0.3849, allocations: 0 / 0.5804 GB, free: 12.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.004967/0.3898, allocations: 2.376 MB / 0.5828 GB, free: 10.26 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.704e-05/0.3899, allocations: 107.5 kB / 0.5829 GB, free: 10.13 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.3911, allocations: 0.7664 MB / 0.5836 GB, free: 9.359 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.123e-05/0.3912, allocations: 41.7 kB / 0.5836 GB, free: 9.312 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004558/0.3916, allocations: 0.5077 MB / 0.5841 GB, free: 8.797 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002279/0.3919, allocations: 245.9 kB / 0.5844 GB, free: 8.555 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002765/0.3921, allocations: 182.5 kB / 0.5846 GB, free: 8.371 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000215/0.3924, allocations: 402.7 kB / 0.5849 GB, free: 7.969 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006211/0.393, allocations: 369.8 kB / 0.5853 GB, free: 7.605 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008796/0.3939, allocations: 0.6539 MB / 0.5859 GB, free: 6.824 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001575/0.3954, allocations: 1.057 MB / 0.587 GB, free: 5.645 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.3954, allocations: 7.938 kB / 0.587 GB, free: 5.637 MB / 430.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003332/0.3988, allocations: 1.532 MB / 0.5885 GB, free: 4.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.3988, allocations: 8 kB / 0.5885 GB, free: 4.082 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.3988, allocations: 8 kB / 0.5885 GB, free: 4.074 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0016/0.4004, allocations: 498.2 kB / 0.589 GB, free: 3.582 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006951/0.4011, allocations: 167.7 kB / 0.5891 GB, free: 3.418 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01099/0.4121, allocations: 6.893 MB / 0.5958 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008066/0.4129, allocations: 48 kB / 0.5959 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.96e-05/0.413, allocations: 47.98 kB / 0.5959 GB, free: 12.2 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.0005825/0.4136, allocations: 353.4 kB / 0.5963 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/0.4137, allocations: 87.44 kB / 0.5964 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00193/0.4157, allocations: 0.9615 MB / 0.5973 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.4157, allocations: 8 kB / 0.5973 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.4157, allocations: 4 kB / 0.5973 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.4157, allocations: 3.984 kB / 0.5973 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004039/0.4197, allocations: 1.942 MB / 0.5992 GB, free: 8.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.4197, allocations: 0 / 0.5992 GB, free: 8.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000785/0.4205, allocations: 123.8 kB / 0.5993 GB, free: 8.629 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005635/0.4211, allocations: 162.5 kB / 0.5995 GB, free: 8.461 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.695e-05/0.4211, allocations: 23.98 kB / 0.5995 GB, free: 8.438 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004719/0.4259, allocations: 4.502 MB / 0.6039 GB, free: 3.594 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/0.4259, allocations: 4.031 kB / 0.6039 GB, free: 3.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002587/0.4285, allocations: 1.383 MB / 0.6053 GB, free: 2.168 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004115/0.4289, allocations: 139.4 kB / 0.6054 GB, free: 2.031 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.429, allocations: 23.98 kB / 0.6054 GB, free: 2.008 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004536/0.4294, allocations: 36.16 kB / 0.6054 GB, free: 1.973 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/0.4296, allocations: 60.22 kB / 0.6055 GB, free: 1.914 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.898e-05/0.4297, allocations: 27.97 kB / 0.6055 GB, free: 1.887 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007654/0.4304, allocations: 0.5224 MB / 0.606 GB, free: 1.371 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4304, allocations: 0 / 0.606 GB, free: 1.371 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001157/0.4316, allocations: 279.9 kB / 0.6063 GB, free: 1.098 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.004329/0.4359, allocations: 2.302 MB / 0.6086 GB, free: 14.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002776/0.4387, allocations: 1.287 MB / 0.6098 GB, free: 13.59 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.4387, allocations: 7.938 kB / 0.6098 GB, free: 13.58 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001375/0.4401, allocations: 0.77 MB / 0.6106 GB, free: 12.78 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.4412, allocations: 207 kB / 0.6108 GB, free: 12.57 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01739/0.4586, allocations: 9.72 MB / 0.6203 GB, free: 2.457 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009612/0.4595, allocations: 1.151 MB / 0.6214 GB, free: 1.277 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007582/0.4603, allocations: 227.3 kB / 0.6216 GB, free: 1.051 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005362/0.4608, allocations: 363.3 kB / 0.6219 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of SimCode: time 1.183e-06/0.4608, allocations: 0 / 0.6219 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0989/0.5597, allocations: 25.35 MB / 0.6467 GB, free: 7.48 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.87/18.43, allocations: 9.438 kB / 0.6467 GB, free: 7.473 MB / 494.1 MB " [Timeout remaining time 641] (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 & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.05 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: 21.651937247996102] Failed to read output from testmodel.py, exit status != 0: 18.63552473400341 18.660374865 18.292793171 Calling exit ...