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.001882/0.001882, allocations: 119.6 kB / 20.44 MB, free: 1.301 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.002277/0.002277, allocations: 214.5 kB / 23.74 MB, free: 4.527 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.516/1.516, allocations: 230.6 MB / 257.5 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.228/0.228, allocations: 38.53 MB / 352.5 MB, free: 12.54 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Drives.ASMav,fileNamePrefix="PowerSystems_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.002064/0.002064, allocations: 75.89 kB / 492.6 MB, free: 4.875 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3201, allocations: 62.45 MB / 0.542 GB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.009137/0.3292, allocations: 7.343 MB / 0.5492 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008607/0.3379, allocations: 5.336 MB / 0.5544 GB, free: 6.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008013/0.3387, allocations: 43 kB / 0.5544 GB, free: 6.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01318/0.3518, allocations: 6.607 MB / 0.5609 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002261/0.3541, allocations: 0.5559 MB / 0.5614 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001763/0.3559, allocations: 0.514 MB / 0.5619 GB, free: 100 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003902/0.3598, allocations: 2.394 MB / 0.5643 GB, free: 13.69 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001141/0.3609, allocations: 0.861 MB / 0.5651 GB, free: 12.82 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009402/0.3618, allocations: 0.6267 MB / 0.5657 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.363, allocations: 0.7785 MB / 0.5665 GB, free: 11.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001661/0.3631, allocations: 100 kB / 0.5666 GB, free: 11.31 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007045/0.3638, allocations: 331.5 kB / 0.5669 GB, free: 10.99 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005021/0.3643, allocations: 0.4948 MB / 0.5674 GB, free: 10.49 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006422/0.365, allocations: 0.5831 MB / 0.5679 GB, free: 9.906 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002023/0.367, allocations: 1.607 MB / 0.5695 GB, free: 8.293 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.367, allocations: 0 / 0.5695 GB, free: 8.293 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.367, allocations: 0 / 0.5695 GB, free: 8.293 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.355e-05/0.367, allocations: 0 / 0.5695 GB, free: 8.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.003096/0.3701, allocations: 1.442 MB / 0.5709 GB, free: 6.812 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.3702, allocations: 15.98 kB / 0.5709 GB, free: 6.797 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001812/0.3703, allocations: 139.6 kB / 0.5711 GB, free: 6.652 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007668/0.3711, allocations: 188.1 kB / 0.5712 GB, free: 6.469 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001829/0.3729, allocations: 0.8454 MB / 0.5721 GB, free: 5.594 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.014e-05/0.373, allocations: 61.98 kB / 0.5721 GB, free: 5.531 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/0.3732, allocations: 83.95 kB / 0.5722 GB, free: 5.449 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001864/0.375, allocations: 1.227 MB / 0.5734 GB, free: 4.152 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.653e-05/0.3751, allocations: 15.94 kB / 0.5734 GB, free: 4.137 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.553e-05/0.3751, allocations: 31.98 kB / 0.5735 GB, free: 4.105 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000243/0.3754, allocations: 93.88 kB / 0.5735 GB, free: 4.012 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001644/0.377, allocations: 1.007 MB / 0.5745 GB, free: 3.004 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006908/0.3839, allocations: 4.732 MB / 0.5791 GB, free: 14.08 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009738/0.3849, allocations: 0.5456 MB / 0.5797 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005808/0.3855, allocations: 331.3 kB / 0.58 GB, free: 13.19 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.858e-05/0.3856, allocations: 8.5 kB / 0.58 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007117/0.3863, allocations: 448.8 kB / 0.5804 GB, free: 12.72 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.304e-06/0.3863, allocations: 3.938 kB / 0.5804 GB, free: 12.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.004729/0.391, allocations: 2.38 MB / 0.5828 GB, free: 10.29 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.236e-05/0.3911, allocations: 115.4 kB / 0.5829 GB, free: 10.16 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009963/0.3921, allocations: 0.7664 MB / 0.5836 GB, free: 9.383 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.3e-05/0.3921, allocations: 41.7 kB / 0.5837 GB, free: 9.336 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004076/0.3925, allocations: 0.5077 MB / 0.5842 GB, free: 8.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002188/0.3928, allocations: 249.9 kB / 0.5844 GB, free: 8.574 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002802/0.393, allocations: 182.5 kB / 0.5846 GB, free: 8.391 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000213/0.3933, allocations: 402.7 kB / 0.5849 GB, free: 7.988 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000607/0.3939, allocations: 369.8 kB / 0.5853 GB, free: 7.625 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008894/0.3948, allocations: 0.6539 MB / 0.5859 GB, free: 6.844 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001634/0.3964, allocations: 1.057 MB / 0.587 GB, free: 5.664 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.3964, allocations: 4 kB / 0.587 GB, free: 5.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003197/0.3996, allocations: 1.539 MB / 0.5885 GB, free: 4.109 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.3996, allocations: 8 kB / 0.5885 GB, free: 4.102 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.3996, allocations: 8 kB / 0.5885 GB, free: 4.094 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001566/0.4012, allocations: 494.2 kB / 0.589 GB, free: 3.605 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006779/0.4019, allocations: 167.7 kB / 0.5891 GB, free: 3.441 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01058/0.4124, allocations: 6.874 MB / 0.5958 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008286/0.4133, allocations: 55.98 kB / 0.5959 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.415e-05/0.4134, allocations: 47.98 kB / 0.5959 GB, free: 12.23 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.0006718/0.414, allocations: 357.3 kB / 0.5963 GB, free: 11.87 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/0.4142, allocations: 91.42 kB / 0.5964 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001945/0.4162, allocations: 0.9577 MB / 0.5973 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.4162, allocations: 11.94 kB / 0.5973 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4162, allocations: 0 / 0.5973 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.4162, allocations: 7.984 kB / 0.5973 GB, free: 10.78 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003666/0.4198, allocations: 1.939 MB / 0.5992 GB, free: 8.777 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.4198, allocations: 0 / 0.5992 GB, free: 8.777 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000768/0.4206, allocations: 131.8 kB / 0.5993 GB, free: 8.648 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005438/0.4212, allocations: 158.5 kB / 0.5995 GB, free: 8.484 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.826e-05/0.4212, allocations: 19.98 kB / 0.5995 GB, free: 8.465 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004562/0.4258, allocations: 4.506 MB / 0.6039 GB, free: 3.617 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.4258, allocations: 4.031 kB / 0.6039 GB, free: 3.613 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002381/0.4282, allocations: 1.383 MB / 0.6053 GB, free: 2.191 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003688/0.4285, allocations: 135.4 kB / 0.6054 GB, free: 2.059 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.4287, allocations: 27.98 kB / 0.6054 GB, free: 2.031 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004515/0.4291, allocations: 35.91 kB / 0.6055 GB, free: 1.996 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.4292, allocations: 52.34 kB / 0.6055 GB, free: 1.945 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.257e-05/0.4293, allocations: 23.98 kB / 0.6055 GB, free: 1.922 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007453/0.43, allocations: 0.5224 MB / 0.606 GB, free: 1.406 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.43, allocations: 0 / 0.606 GB, free: 1.406 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001027/0.4311, allocations: 275.9 kB / 0.6063 GB, free: 1.137 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.004195/0.4353, allocations: 2.312 MB / 0.6086 GB, free: 14.93 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002623/0.4379, allocations: 1.279 MB / 0.6098 GB, free: 13.62 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.4379, allocations: 0 / 0.6098 GB, free: 13.62 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001324/0.4392, allocations: 0.7622 MB / 0.6106 GB, free: 12.82 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.4403, allocations: 226 kB / 0.6108 GB, free: 12.61 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01666/0.457, allocations: 9.73 MB / 0.6203 GB, free: 2.48 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/0.458, allocations: 1.143 MB / 0.6214 GB, free: 1.309 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007361/0.4587, allocations: 235.3 kB / 0.6216 GB, free: 1.074 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005417/0.4593, allocations: 363.3 kB / 0.622 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of SimCode: time 1.402e-06/0.4593, allocations: 0 / 0.622 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09382/0.5531, allocations: 25.34 MB / 0.6467 GB, free: 7.508 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.72/18.28, allocations: 6.75 kB / 0.6467 GB, free: 7.504 MB / 494.1 MB " [Timeout remaining time 642] (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 & python3 -m fmpy simulate --output-file PowerSystems_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_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.496884668995335] Failed to read output from testmodel.py, exit status != 0: 18.465726703994733 18.483152530999998 18.112515828 Calling exit ...