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.001288/0.001288, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001459/0.001459, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.515/1.515, allocations: 230.6 MB / 258.3 MB, free: 8.039 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.1984/0.1984, allocations: 38.53 MB / 353.2 MB, free: 12.66 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Drives.ASMav,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav",fmuType="cs",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.002074/0.002074, allocations: 71.03 kB / 493.3 MB, free: 4.906 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3761, allocations: 62.47 MB / 0.5428 GB, free: 456 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.01175/0.3878, allocations: 7.341 MB / 0.5499 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01042/0.3983, allocations: 5.334 MB / 0.5551 GB, free: 6.492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001363/0.3996, allocations: 40.03 kB / 0.5552 GB, free: 6.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01448/0.4141, allocations: 6.601 MB / 0.5616 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002411/0.4165, allocations: 0.5676 MB / 0.5622 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001731/0.4182, allocations: 0.506 MB / 0.5627 GB, free: 96 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004244/0.4225, allocations: 2.397 MB / 0.565 GB, free: 13.69 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001366/0.4239, allocations: 0.861 MB / 0.5659 GB, free: 12.81 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001155/0.425, allocations: 0.6228 MB / 0.5665 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001233/0.4262, allocations: 0.7825 MB / 0.5672 GB, free: 11.4 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002333/0.4265, allocations: 100 kB / 0.5673 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007609/0.4272, allocations: 331.6 kB / 0.5676 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005298/0.4278, allocations: 0.4909 MB / 0.5681 GB, free: 10.49 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006823/0.4285, allocations: 0.587 MB / 0.5687 GB, free: 9.898 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002209/0.4307, allocations: 1.615 MB / 0.5703 GB, free: 8.277 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.4307, allocations: 4 kB / 0.5703 GB, free: 8.273 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4307, allocations: 0 / 0.5703 GB, free: 8.273 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.608e-05/0.4307, allocations: 0 / 0.5703 GB, free: 8.273 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.003284/0.434, allocations: 1.434 MB / 0.5717 GB, free: 6.801 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.434, allocations: 15.97 kB / 0.5717 GB, free: 6.785 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.027e-05/0.4341, allocations: 22.19 kB / 0.5717 GB, free: 6.766 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002328/0.4343, allocations: 139.6 kB / 0.5719 GB, free: 6.621 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007761/0.4351, allocations: 184.1 kB / 0.572 GB, free: 6.441 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001812/0.4369, allocations: 0.8452 MB / 0.5729 GB, free: 5.562 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.905e-05/0.4369, allocations: 61.98 kB / 0.5729 GB, free: 5.504 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/0.4371, allocations: 87.95 kB / 0.573 GB, free: 5.418 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/0.4391, allocations: 1.235 MB / 0.5742 GB, free: 4.109 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.191e-05/0.4391, allocations: 3.938 kB / 0.5742 GB, free: 4.105 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.495e-05/0.4392, allocations: 31.98 kB / 0.5742 GB, free: 4.074 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002409/0.4394, allocations: 97.88 kB / 0.5743 GB, free: 3.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00165/0.4411, allocations: 1.007 MB / 0.5753 GB, free: 2.969 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007301/0.4484, allocations: 4.732 MB / 0.5799 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.4494, allocations: 0.5419 MB / 0.5805 GB, free: 13.49 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005723/0.45, allocations: 335.2 kB / 0.5808 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.252e-05/0.4501, allocations: 8.5 kB / 0.5808 GB, free: 13.15 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007225/0.4508, allocations: 448.8 kB / 0.5812 GB, free: 12.7 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 3.987e-06/0.4508, allocations: 3.984 kB / 0.5812 GB, free: 12.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.005062/0.4558, allocations: 2.372 MB / 0.5835 GB, free: 10.27 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.372e-05/0.4559, allocations: 119.4 kB / 0.5837 GB, free: 10.13 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.4571, allocations: 0.7547 MB / 0.5844 GB, free: 9.371 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.848e-05/0.4571, allocations: 41.7 kB / 0.5844 GB, free: 9.324 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000441/0.4576, allocations: 0.5077 MB / 0.5849 GB, free: 8.809 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002564/0.4578, allocations: 257.9 kB / 0.5852 GB, free: 8.555 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002924/0.4581, allocations: 182.6 kB / 0.5853 GB, free: 8.371 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002322/0.4584, allocations: 398.7 kB / 0.5857 GB, free: 7.973 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006305/0.459, allocations: 373.8 kB / 0.5861 GB, free: 7.605 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008762/0.4599, allocations: 0.6578 MB / 0.5867 GB, free: 6.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001589/0.4615, allocations: 1.049 MB / 0.5877 GB, free: 5.648 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.517e-06/0.4615, allocations: 8 kB / 0.5878 GB, free: 5.641 MB / 430.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003634/0.4651, allocations: 1.547 MB / 0.5893 GB, free: 4.082 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.893e-05/0.4651, allocations: 8 kB / 0.5893 GB, free: 4.074 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.686e-05/0.4652, allocations: 8 kB / 0.5893 GB, free: 4.066 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001746/0.4669, allocations: 494 kB / 0.5898 GB, free: 3.578 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008554/0.4678, allocations: 171.7 kB / 0.5899 GB, free: 3.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01102/0.4788, allocations: 6.879 MB / 0.5966 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008345/0.4796, allocations: 47.98 kB / 0.5967 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-05/0.4797, allocations: 47.98 kB / 0.5967 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.0006885/0.4804, allocations: 357.5 kB / 0.5971 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001735/0.4806, allocations: 91.44 kB / 0.5972 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002066/0.4827, allocations: 0.9616 MB / 0.5981 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.4827, allocations: 8 kB / 0.5981 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.4827, allocations: 7.938 kB / 0.5981 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.4827, allocations: 3.984 kB / 0.5981 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003903/0.4866, allocations: 1.939 MB / 0.6 GB, free: 8.746 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.4866, allocations: 8.125 kB / 0.6 GB, free: 8.738 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007793/0.4874, allocations: 123.8 kB / 0.6001 GB, free: 8.617 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005634/0.4879, allocations: 158.4 kB / 0.6003 GB, free: 8.453 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.962e-05/0.488, allocations: 27.92 kB / 0.6003 GB, free: 8.426 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004711/0.4927, allocations: 4.499 MB / 0.6047 GB, free: 3.586 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4927, allocations: 0 / 0.6047 GB, free: 3.586 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002577/0.4953, allocations: 1.386 MB / 0.6061 GB, free: 2.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003949/0.4957, allocations: 139.4 kB / 0.6062 GB, free: 2.023 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.4958, allocations: 16 kB / 0.6062 GB, free: 2.008 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004418/0.4963, allocations: 31.97 kB / 0.6062 GB, free: 1.977 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/0.4964, allocations: 64.33 kB / 0.6063 GB, free: 1.914 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.342e-05/0.4965, allocations: 27.92 kB / 0.6063 GB, free: 1.887 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007453/0.4972, allocations: 0.5146 MB / 0.6068 GB, free: 1.375 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4972, allocations: 0 / 0.6068 GB, free: 1.375 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001083/0.4983, allocations: 279.9 kB / 0.6071 GB, free: 1.102 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.004187/0.5025, allocations: 2.319 MB / 0.6094 GB, free: 14.89 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002631/0.5051, allocations: 1.284 MB / 0.6106 GB, free: 13.58 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5051, allocations: 0 / 0.6106 GB, free: 13.58 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001366/0.5065, allocations: 0.7688 MB / 0.6114 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.001152/0.5076, allocations: 207.1 kB / 0.6116 GB, free: 12.57 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01612/0.5237, allocations: 9.727 MB / 0.6211 GB, free: 2.449 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009335/0.5247, allocations: 1.143 MB / 0.6222 GB, free: 1.277 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007014/0.5254, allocations: 235.3 kB / 0.6224 GB, free: 1.043 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005328/0.5259, allocations: 363.3 kB / 0.6227 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of SimCode: time 7.71e-07/0.5259, allocations: 0 / 0.6227 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06686/0.5928, allocations: 25.38 MB / 0.6475 GB, free: 7.449 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.97/18.57, allocations: 4.062 kB / 0.6475 GB, free: 7.445 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_fmu --startTime=0 --stopTime=60 --stepSize=0.05 --timeout=50 --tolerance=1e-06 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.758162621001247] Failed to read output from testmodel.py, exit status != 0: 18.81136458396213 18.827522506 18.393472265 Calling exit ...