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.001818/0.001818, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002262/0.002262, allocations: 205 kB / 23.73 MB, free: 4.379 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.46/1.46, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.1973/0.1973, allocations: 38.54 MB / 352.5 MB, free: 12.31 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.00219/0.00219, allocations: 67.84 kB / 492.5 MB, free: 4.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2956, allocations: 62.47 MB / 0.5419 GB, free: 264 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.009097/0.3047, allocations: 6.78 MB / 0.5486 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008818/0.3135, allocations: 4.853 MB / 0.5533 GB, free: 7.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000823/0.3144, allocations: 39.09 kB / 0.5533 GB, free: 7.414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0145/0.3289, allocations: 6.556 MB / 0.5597 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001751/0.3306, allocations: 0.5637 MB / 0.5603 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001507/0.3321, allocations: 0.5063 MB / 0.5608 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003892/0.336, allocations: 2.393 MB / 0.5631 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001411/0.3374, allocations: 0.861 MB / 0.564 GB, free: 13.67 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001184/0.3386, allocations: 0.6305 MB / 0.5646 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001499/0.3401, allocations: 0.7903 MB / 0.5654 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002345/0.3403, allocations: 100 kB / 0.5655 GB, free: 12.15 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007768/0.3411, allocations: 307.7 kB / 0.5657 GB, free: 11.85 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005414/0.3417, allocations: 0.4986 MB / 0.5662 GB, free: 11.35 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006486/0.3423, allocations: 481.9 kB / 0.5667 GB, free: 10.88 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002205/0.3445, allocations: 1.619 MB / 0.5683 GB, free: 9.25 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3445, allocations: 0 / 0.5683 GB, free: 9.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3445, allocations: 4 kB / 0.5683 GB, free: 9.246 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.338e-05/0.3445, allocations: 0 / 0.5683 GB, free: 9.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.003054/0.3476, allocations: 1.438 MB / 0.5697 GB, free: 7.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.3476, allocations: 11.98 kB / 0.5697 GB, free: 7.758 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000186/0.3478, allocations: 139.6 kB / 0.5698 GB, free: 7.613 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007793/0.3486, allocations: 192 kB / 0.57 GB, free: 7.426 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001779/0.3504, allocations: 0.8455 MB / 0.5708 GB, free: 6.551 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.72e-05/0.3505, allocations: 65.98 kB / 0.5709 GB, free: 6.484 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/0.3506, allocations: 83.95 kB / 0.571 GB, free: 6.402 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001974/0.3526, allocations: 1.264 MB / 0.5722 GB, free: 5.062 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.068e-05/0.3526, allocations: 0 / 0.5722 GB, free: 5.062 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-05/0.3527, allocations: 39.98 kB / 0.5722 GB, free: 5.023 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002461/0.353, allocations: 97.88 kB / 0.5723 GB, free: 4.926 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001971/0.3549, allocations: 0.9953 MB / 0.5733 GB, free: 3.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008044/0.363, allocations: 4.521 MB / 0.5777 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.3641, allocations: 0.5385 MB / 0.5783 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006322/0.3647, allocations: 331.1 kB / 0.5786 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.643e-05/0.3648, allocations: 8.5 kB / 0.5786 GB, free: 14.33 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007196/0.3655, allocations: 448.7 kB / 0.579 GB, free: 13.87 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.826e-06/0.3655, allocations: 0 / 0.579 GB, free: 13.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.005355/0.3709, allocations: 2.375 MB / 0.5813 GB, free: 11.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.089e-05/0.3709, allocations: 115.5 kB / 0.5814 GB, free: 11.32 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.372, allocations: 0.7779 MB / 0.5822 GB, free: 10.53 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.169e-05/0.3721, allocations: 41.73 kB / 0.5822 GB, free: 10.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004239/0.3725, allocations: 0.5078 MB / 0.5827 GB, free: 9.969 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002432/0.3727, allocations: 249.9 kB / 0.583 GB, free: 9.723 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002986/0.373, allocations: 182.5 kB / 0.5831 GB, free: 9.539 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002356/0.3733, allocations: 398.7 kB / 0.5835 GB, free: 9.141 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006276/0.3739, allocations: 377.8 kB / 0.5839 GB, free: 8.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009047/0.3748, allocations: 0.679 MB / 0.5845 GB, free: 7.957 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/0.3763, allocations: 1.049 MB / 0.5856 GB, free: 6.785 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.3763, allocations: 7.938 kB / 0.5856 GB, free: 6.777 MB / 430.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003138/0.3794, allocations: 1.536 MB / 0.5871 GB, free: 5.227 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.3795, allocations: 8 kB / 0.5871 GB, free: 5.219 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/0.3795, allocations: 12 kB / 0.5871 GB, free: 5.207 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001554/0.381, allocations: 490.3 kB / 0.5876 GB, free: 4.723 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006432/0.3817, allocations: 167.7 kB / 0.5877 GB, free: 4.559 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01007/0.3917, allocations: 6.819 MB / 0.5944 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006906/0.3924, allocations: 48.05 kB / 0.5944 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.683e-05/0.3925, allocations: 47.98 kB / 0.5945 GB, free: 13.41 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.0005121/0.393, allocations: 345.5 kB / 0.5948 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/0.3932, allocations: 95.38 kB / 0.5949 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001801/0.395, allocations: 0.9654 MB / 0.5958 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.395, allocations: 4 kB / 0.5958 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.395, allocations: 4 kB / 0.5958 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.647e-06/0.395, allocations: 3.984 kB / 0.5959 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003273/0.3983, allocations: 1.857 MB / 0.5977 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.3983, allocations: 4.125 kB / 0.5977 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006943/0.399, allocations: 127.8 kB / 0.5978 GB, free: 9.918 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000499/0.3995, allocations: 158.4 kB / 0.5979 GB, free: 9.754 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.872e-05/0.3996, allocations: 23.98 kB / 0.598 GB, free: 9.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004079/0.4036, allocations: 4.475 MB / 0.6023 GB, free: 4.914 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.4036, allocations: 3.984 kB / 0.6023 GB, free: 4.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002161/0.4058, allocations: 1.387 MB / 0.6037 GB, free: 3.484 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003221/0.4061, allocations: 143.4 kB / 0.6038 GB, free: 3.344 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.4062, allocations: 20 kB / 0.6038 GB, free: 3.324 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004154/0.4067, allocations: 27.97 kB / 0.6039 GB, free: 3.297 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.4068, allocations: 72.2 kB / 0.6039 GB, free: 3.227 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.825e-05/0.4068, allocations: 20 kB / 0.604 GB, free: 3.207 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006779/0.4075, allocations: 0.5185 MB / 0.6045 GB, free: 2.695 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4075, allocations: 0 / 0.6045 GB, free: 2.695 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009517/0.4085, allocations: 283.9 kB / 0.6047 GB, free: 2.418 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.003969/0.4124, allocations: 2.337 MB / 0.607 GB, free: 224 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00235/0.4148, allocations: 1.28 MB / 0.6083 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.4148, allocations: 0 / 0.6083 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001225/0.416, allocations: 0.7729 MB / 0.609 GB, free: 14.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009321/0.417, allocations: 214.6 kB / 0.6092 GB, free: 13.89 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01405/0.431, allocations: 9.713 MB / 0.6187 GB, free: 3.781 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006107/0.4316, allocations: 0.5413 MB / 0.6192 GB, free: 3.207 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005966/0.4322, allocations: 235.3 kB / 0.6195 GB, free: 2.973 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004749/0.4327, allocations: 367.3 kB / 0.6198 GB, free: 2.613 MB / 462.1 MB Notification: Performance of SimCode: time 3.5e-07/0.4327, allocations: 0 / 0.6198 GB, free: 2.613 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1314/0.5641, allocations: 25.69 MB / 0.6449 GB, free: 9.105 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.46/15.02, allocations: 11.28 kB / 0.6449 GB, free: 9.098 MB / 494.1 MB " [Timeout remaining time 645] (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: 18.14229980786331] Failed to read output from testmodel.py, exit status != 0: 15.220451313070953 15.246724611 14.897279467 Calling exit ...