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.001917/0.001917, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002628/0.002628, allocations: 212.5 kB / 23.73 MB, free: 4.41 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.472/1.472, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.1877/0.1877, allocations: 38.55 MB / 352.5 MB, free: 12.4 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.002136/0.002136, allocations: 71.89 kB / 492.5 MB, free: 4.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2989, allocations: 62.46 MB / 0.5419 GB, free: 260 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.009082/0.308, allocations: 6.784 MB / 0.5486 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008246/0.3162, allocations: 4.854 MB / 0.5533 GB, free: 7.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006408/0.3169, allocations: 40.31 kB / 0.5533 GB, free: 7.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01349/0.3304, allocations: 6.477 MB / 0.5597 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001874/0.3322, allocations: 0.5676 MB / 0.5602 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001415/0.3337, allocations: 0.5142 MB / 0.5607 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003333/0.337, allocations: 2.374 MB / 0.563 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.3381, allocations: 0.8571 MB / 0.5639 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000934/0.339, allocations: 0.6228 MB / 0.5645 GB, free: 13.13 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001088/0.3401, allocations: 0.7473 MB / 0.5652 GB, free: 12.38 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001694/0.3403, allocations: 100 kB / 0.5653 GB, free: 12.28 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006877/0.341, allocations: 307.7 kB / 0.5656 GB, free: 11.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005137/0.3415, allocations: 0.4948 MB / 0.5661 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005575/0.3421, allocations: 493.7 kB / 0.5666 GB, free: 11 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001895/0.3439, allocations: 1.615 MB / 0.5681 GB, free: 9.379 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.344, allocations: 0 / 0.5681 GB, free: 9.379 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.344, allocations: 0 / 0.5681 GB, free: 9.379 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.513e-05/0.344, allocations: 4 kB / 0.5681 GB, free: 9.375 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.002974/0.3469, allocations: 1.438 MB / 0.5696 GB, free: 7.898 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.347, allocations: 11.98 kB / 0.5696 GB, free: 7.887 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001742/0.3472, allocations: 139.5 kB / 0.5697 GB, free: 7.742 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007799/0.3479, allocations: 192.1 kB / 0.5699 GB, free: 7.555 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001879/0.3498, allocations: 0.8377 MB / 0.5707 GB, free: 6.688 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.668e-05/0.3499, allocations: 69.98 kB / 0.5708 GB, free: 6.617 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/0.35, allocations: 87.94 kB / 0.5708 GB, free: 6.531 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/0.352, allocations: 1.256 MB / 0.5721 GB, free: 5.199 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.139e-05/0.352, allocations: 3.938 kB / 0.5721 GB, free: 5.195 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.3521, allocations: 35.98 kB / 0.5721 GB, free: 5.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002341/0.3524, allocations: 93.88 kB / 0.5722 GB, free: 5.066 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001708/0.3541, allocations: 0.9992 MB / 0.5732 GB, free: 4.066 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007221/0.3613, allocations: 4.517 MB / 0.5776 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009876/0.3623, allocations: 0.5424 MB / 0.5781 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005782/0.3629, allocations: 327.1 kB / 0.5784 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.726e-05/0.3629, allocations: 12.44 kB / 0.5784 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000721/0.3636, allocations: 444.8 kB / 0.5789 GB, free: 14.01 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.394e-06/0.3636, allocations: 0 / 0.5789 GB, free: 14.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.004733/0.3684, allocations: 2.384 MB / 0.5812 GB, free: 11.58 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8e-05/0.3685, allocations: 111.5 kB / 0.5813 GB, free: 11.45 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.3695, allocations: 0.7779 MB / 0.5821 GB, free: 10.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.034e-05/0.3695, allocations: 41.73 kB / 0.5821 GB, free: 10.62 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004342/0.37, allocations: 0.5078 MB / 0.5826 GB, free: 10.1 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002336/0.3702, allocations: 249.9 kB / 0.5828 GB, free: 9.855 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002921/0.3705, allocations: 182.5 kB / 0.583 GB, free: 9.672 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002265/0.3707, allocations: 398.7 kB / 0.5834 GB, free: 9.273 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006411/0.3714, allocations: 377.8 kB / 0.5837 GB, free: 8.902 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008914/0.3723, allocations: 0.679 MB / 0.5844 GB, free: 8.094 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/0.3738, allocations: 1.053 MB / 0.5854 GB, free: 6.918 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.3738, allocations: 4 kB / 0.5854 GB, free: 6.914 MB / 430.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003168/0.377, allocations: 1.544 MB / 0.587 GB, free: 5.355 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.377, allocations: 11.98 kB / 0.587 GB, free: 5.344 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.377, allocations: 12 kB / 0.587 GB, free: 5.332 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001566/0.3786, allocations: 490.3 kB / 0.5874 GB, free: 4.848 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006329/0.3792, allocations: 167.7 kB / 0.5876 GB, free: 4.684 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01026/0.3895, allocations: 6.806 MB / 0.5942 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007471/0.3902, allocations: 56.09 kB / 0.5943 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.218e-05/0.3903, allocations: 44 kB / 0.5943 GB, free: 13.55 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.0005463/0.3909, allocations: 353.5 kB / 0.5947 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/0.391, allocations: 95.38 kB / 0.5948 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001908/0.3929, allocations: 0.9654 MB / 0.5957 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.3929, allocations: 4 kB / 0.5957 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.405e-06/0.3929, allocations: 7.984 kB / 0.5957 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.3929, allocations: 0 / 0.5957 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003557/0.3965, allocations: 1.861 MB / 0.5975 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.3965, allocations: 4.125 kB / 0.5975 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007292/0.3972, allocations: 123.8 kB / 0.5977 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005396/0.3978, allocations: 158.4 kB / 0.5978 GB, free: 9.883 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.535e-05/0.3978, allocations: 27.92 kB / 0.5978 GB, free: 9.855 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004599/0.4024, allocations: 4.483 MB / 0.6022 GB, free: 5.031 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4024, allocations: 0 / 0.6022 GB, free: 5.031 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002399/0.4048, allocations: 1.387 MB / 0.6036 GB, free: 3.605 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004147/0.4052, allocations: 139.4 kB / 0.6037 GB, free: 3.469 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/0.4054, allocations: 23.98 kB / 0.6037 GB, free: 3.445 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004608/0.4058, allocations: 23.98 kB / 0.6038 GB, free: 3.422 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/0.406, allocations: 64.33 kB / 0.6038 GB, free: 3.359 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.278e-05/0.406, allocations: 23.98 kB / 0.6038 GB, free: 3.336 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007697/0.4068, allocations: 0.5185 MB / 0.6043 GB, free: 2.824 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4068, allocations: 0 / 0.6043 GB, free: 2.824 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001096/0.4079, allocations: 283.9 kB / 0.6046 GB, free: 2.547 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.004378/0.4123, allocations: 2.323 MB / 0.6069 GB, free: 364 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002598/0.4149, allocations: 1.28 MB / 0.6081 GB, free: 15.04 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4149, allocations: 4 kB / 0.6081 GB, free: 15.04 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001329/0.4162, allocations: 0.7652 MB / 0.6089 GB, free: 14.24 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.4173, allocations: 216.6 kB / 0.6091 GB, free: 14.03 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01615/0.4335, allocations: 9.725 MB / 0.6186 GB, free: 3.91 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009078/0.4344, allocations: 0.5413 MB / 0.6191 GB, free: 3.336 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007917/0.4352, allocations: 235.3 kB / 0.6193 GB, free: 3.102 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005976/0.4357, allocations: 363.3 kB / 0.6197 GB, free: 2.746 MB / 462.1 MB Notification: Performance of SimCode: time 1.272e-06/0.4358, allocations: 0 / 0.6197 GB, free: 2.746 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07587/0.5116, allocations: 25.33 MB / 0.6444 GB, free: 9.602 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.94/14.45, allocations: 14.89 kB / 0.6444 GB, free: 9.59 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: 17.500842824112624] Failed to read output from testmodel.py, exit status != 0: 14.638559233862907 14.66195441 14.313596777 Calling exit ...