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.001899/0.001899, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002193/0.002193, allocations: 210.5 kB / 23.73 MB, free: 4.387 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.541/1.541, allocations: 230.6 MB / 257.5 MB, free: 7.777 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.1936/0.1936, allocations: 38.55 MB / 352.5 MB, free: 12.29 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.002318/0.002318, allocations: 62.69 kB / 492.5 MB, free: 4.672 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3398, allocations: 62.47 MB / 0.5419 GB, free: 244 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.01056/0.3503, allocations: 6.782 MB / 0.5486 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009377/0.3597, allocations: 4.852 MB / 0.5533 GB, free: 7.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008575/0.3606, allocations: 39.16 kB / 0.5533 GB, free: 7.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01683/0.3774, allocations: 6.482 MB / 0.5597 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002192/0.3796, allocations: 0.5637 MB / 0.5602 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00186/0.3815, allocations: 0.5063 MB / 0.5607 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004467/0.3859, allocations: 2.378 MB / 0.563 GB, free: 14.6 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001811/0.3877, allocations: 0.8609 MB / 0.5639 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001557/0.3893, allocations: 0.6266 MB / 0.5645 GB, free: 13.1 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001774/0.3911, allocations: 0.7473 MB / 0.5652 GB, free: 12.35 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003471/0.3914, allocations: 104 kB / 0.5653 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000971/0.3924, allocations: 307.7 kB / 0.5656 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007206/0.3931, allocations: 0.4948 MB / 0.5661 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009753/0.3941, allocations: 489.8 kB / 0.5666 GB, free: 10.97 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00252/0.3966, allocations: 1.611 MB / 0.5681 GB, free: 9.352 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3966, allocations: 0 / 0.5681 GB, free: 9.352 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3966, allocations: 0 / 0.5681 GB, free: 9.352 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.194e-05/0.3967, allocations: 0 / 0.5681 GB, free: 9.352 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.003738/0.4004, allocations: 1.452 MB / 0.5696 GB, free: 7.863 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.4004, allocations: 11.98 kB / 0.5696 GB, free: 7.852 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002517/0.4007, allocations: 131.6 kB / 0.5697 GB, free: 7.715 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000931/0.4016, allocations: 192.1 kB / 0.5699 GB, free: 7.527 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002224/0.4038, allocations: 0.8415 MB / 0.5707 GB, free: 6.656 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.766e-05/0.4039, allocations: 65.98 kB / 0.5708 GB, free: 6.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002131/0.4041, allocations: 83.95 kB / 0.5708 GB, free: 6.508 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002254/0.4064, allocations: 1.266 MB / 0.5721 GB, free: 5.168 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.772e-05/0.4064, allocations: 7.938 kB / 0.5721 GB, free: 5.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-05/0.4065, allocations: 35.98 kB / 0.5721 GB, free: 5.125 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002477/0.4068, allocations: 93.88 kB / 0.5722 GB, free: 5.031 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00185/0.4086, allocations: 0.9992 MB / 0.5732 GB, free: 4.031 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01012/0.4187, allocations: 4.51 MB / 0.5776 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001668/0.4204, allocations: 0.5461 MB / 0.5781 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/0.4215, allocations: 335.3 kB / 0.5784 GB, free: 14.44 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.232e-05/0.4216, allocations: 8.438 kB / 0.5785 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001243/0.4228, allocations: 448.7 kB / 0.5789 GB, free: 13.97 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 5.14e-06/0.4228, allocations: 0 / 0.5789 GB, free: 13.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.007737/0.4305, allocations: 2.375 MB / 0.5812 GB, free: 11.55 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.4306, allocations: 115.4 kB / 0.5813 GB, free: 11.42 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001751/0.4324, allocations: 0.7779 MB / 0.5821 GB, free: 10.63 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000108/0.4325, allocations: 37.7 kB / 0.5821 GB, free: 10.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006301/0.4331, allocations: 0.5078 MB / 0.5826 GB, free: 10.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003791/0.4335, allocations: 249.9 kB / 0.5828 GB, free: 9.828 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004803/0.434, allocations: 186.5 kB / 0.583 GB, free: 9.641 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003437/0.4343, allocations: 402.7 kB / 0.5834 GB, free: 9.238 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001103/0.4354, allocations: 377.8 kB / 0.5838 GB, free: 8.867 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001529/0.437, allocations: 0.679 MB / 0.5844 GB, free: 8.059 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002806/0.4398, allocations: 1.045 MB / 0.5854 GB, free: 6.891 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.258e-05/0.4398, allocations: 4 kB / 0.5854 GB, free: 6.887 MB / 430.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.005816/0.4456, allocations: 1.536 MB / 0.5869 GB, free: 5.336 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.624e-05/0.4456, allocations: 10.66 kB / 0.587 GB, free: 5.328 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-05/0.4457, allocations: 11.98 kB / 0.587 GB, free: 5.316 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002872/0.4485, allocations: 497.9 kB / 0.5874 GB, free: 4.824 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/0.4498, allocations: 163.7 kB / 0.5876 GB, free: 4.664 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01791/0.4677, allocations: 6.808 MB / 0.5942 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/0.4691, allocations: 48.03 kB / 0.5943 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001493/0.4693, allocations: 40 kB / 0.5943 GB, free: 13.53 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.0009475/0.4702, allocations: 353.5 kB / 0.5947 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002995/0.4705, allocations: 95.39 kB / 0.5948 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003367/0.4739, allocations: 0.9615 MB / 0.5957 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/0.4739, allocations: 7.938 kB / 0.5957 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.564e-05/0.4739, allocations: 7.984 kB / 0.5957 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.4739, allocations: 0 / 0.5957 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006533/0.4805, allocations: 1.861 MB / 0.5975 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.258e-06/0.4805, allocations: 0 / 0.5975 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001362/0.4818, allocations: 128 kB / 0.5977 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009842/0.4828, allocations: 170.4 kB / 0.5978 GB, free: 9.855 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-05/0.4829, allocations: 23.98 kB / 0.5978 GB, free: 9.832 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008073/0.491, allocations: 4.479 MB / 0.6022 GB, free: 5.012 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.296e-06/0.491, allocations: 4 kB / 0.6022 GB, free: 5.008 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004387/0.4954, allocations: 1.387 MB / 0.6036 GB, free: 3.582 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006953/0.4961, allocations: 135.4 kB / 0.6037 GB, free: 3.449 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002058/0.4963, allocations: 23.98 kB / 0.6037 GB, free: 3.426 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007472/0.497, allocations: 28.17 kB / 0.6037 GB, free: 3.398 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002403/0.4973, allocations: 60.33 kB / 0.6038 GB, free: 3.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.709e-05/0.4974, allocations: 27.97 kB / 0.6038 GB, free: 3.312 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001264/0.4986, allocations: 0.5146 MB / 0.6043 GB, free: 2.805 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4986, allocations: 4 kB / 0.6043 GB, free: 2.801 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001694/0.5003, allocations: 283.9 kB / 0.6046 GB, free: 2.523 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.00595/0.5063, allocations: 2.326 MB / 0.6069 GB, free: 344 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003351/0.5096, allocations: 1.287 MB / 0.6081 GB, free: 15.02 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.5096, allocations: 4 kB / 0.6081 GB, free: 15.02 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001458/0.5111, allocations: 0.7622 MB / 0.6089 GB, free: 14.22 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.5122, allocations: 213.6 kB / 0.6091 GB, free: 14.01 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01694/0.5292, allocations: 9.717 MB / 0.6186 GB, free: 3.891 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007586/0.5299, allocations: 0.5452 MB / 0.6191 GB, free: 3.312 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008137/0.5307, allocations: 235.3 kB / 0.6193 GB, free: 3.078 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006198/0.5314, allocations: 367.2 kB / 0.6197 GB, free: 2.719 MB / 462.1 MB Notification: Performance of SimCode: time 1.422e-06/0.5314, allocations: 0 / 0.6197 GB, free: 2.719 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07172/0.6031, allocations: 25.34 MB / 0.6444 GB, free: 9.566 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/14.69, allocations: 3.938 kB / 0.6444 GB, free: 9.562 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 & /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: 17.825855660252273] Failed to read output from testmodel.py, exit status != 0: 14.888415440917015 14.906710677 14.506517239 Calling exit ...