Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.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.00159/0.00159, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001585/0.001585, allocations: 214 kB / 24.51 MB, free: 3.918 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.497/1.497, allocations: 230.6 MB / 258.3 MB, free: 7.738 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.191/0.191, allocations: 38.54 MB / 353.2 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.ASM_Y_D,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASM_Y_D",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASM_Y_D",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.002033/0.002033, allocations: 67.89 kB / 493.3 MB, free: 4.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3617, allocations: 62.46 MB / 0.5427 GB, free: 244 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.007691/0.3694, allocations: 5.496 MB / 0.5481 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006852/0.3763, allocations: 4.091 MB / 0.5521 GB, free: 8.945 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000539/0.3768, allocations: 24.5 kB / 0.5521 GB, free: 8.934 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01186/0.3887, allocations: 5.503 MB / 0.5575 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001622/0.3903, allocations: 438 kB / 0.5579 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.3913, allocations: 287.5 kB / 0.5582 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004141/0.3955, allocations: 1.797 MB / 0.5599 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001249/0.3967, allocations: 0.6259 MB / 0.5605 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001045/0.3978, allocations: 498.3 kB / 0.561 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009248/0.3987, allocations: 0.545 MB / 0.5615 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001266/0.3988, allocations: 72 kB / 0.5616 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003897/0.3992, allocations: 135.9 kB / 0.5617 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004418/0.3997, allocations: 335.1 kB / 0.562 GB, free: 412 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005295/0.4002, allocations: 322.6 kB / 0.5624 GB, free: 88 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001758/0.4019, allocations: 1.043 MB / 0.5634 GB, free: 15.04 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4019, allocations: 0 / 0.5634 GB, free: 15.04 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4019, allocations: 4 kB / 0.5634 GB, free: 15.03 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.769e-05/0.402, allocations: 4 kB / 0.5634 GB, free: 15.03 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.002188/0.4041, allocations: 0.9719 MB / 0.5643 GB, free: 14.01 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.4042, allocations: 11.98 kB / 0.5643 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.529e-05/0.4043, allocations: 25.44 kB / 0.5644 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001289/0.4044, allocations: 102.7 kB / 0.5645 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000476/0.4049, allocations: 112.4 kB / 0.5646 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/0.4061, allocations: 0.5473 MB / 0.5651 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/0.4062, allocations: 75.02 kB / 0.5652 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/0.4063, allocations: 67.88 kB / 0.5652 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/0.4078, allocations: 0.8389 MB / 0.5661 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.652e-05/0.4078, allocations: 0 / 0.5661 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.76e-05/0.4079, allocations: 24 kB / 0.5661 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000138/0.408, allocations: 53.28 kB / 0.5661 GB, free: 12.08 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.4091, allocations: 0.6118 MB / 0.5667 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004385/0.4135, allocations: 2.695 MB / 0.5694 GB, free: 8.668 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008457/0.4143, allocations: 442.6 kB / 0.5698 GB, free: 8.215 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000347/0.4146, allocations: 236 kB / 0.57 GB, free: 7.973 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.4147, allocations: 8.656 kB / 0.57 GB, free: 7.965 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005389/0.4152, allocations: 379.9 kB / 0.5704 GB, free: 7.562 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.114e-06/0.4152, allocations: 0 / 0.5704 GB, free: 7.562 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.003308/0.4185, allocations: 1.731 MB / 0.5721 GB, free: 5.758 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.694e-05/0.4186, allocations: 156.3 kB / 0.5722 GB, free: 5.574 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005333/0.4192, allocations: 441.9 kB / 0.5726 GB, free: 5.133 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.318e-05/0.4192, allocations: 33.7 kB / 0.5727 GB, free: 5.094 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002864/0.4195, allocations: 336.6 kB / 0.573 GB, free: 4.758 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.4197, allocations: 170.6 kB / 0.5732 GB, free: 4.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001966/0.4199, allocations: 110.3 kB / 0.5733 GB, free: 4.477 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.4201, allocations: 366.8 kB / 0.5736 GB, free: 4.109 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004086/0.4205, allocations: 254.9 kB / 0.5739 GB, free: 3.852 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005386/0.421, allocations: 423.4 kB / 0.5743 GB, free: 3.367 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003071/0.4241, allocations: 1.256 MB / 0.5755 GB, free: 2.031 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.4241, allocations: 0 / 0.5755 GB, free: 2.031 MB / 414.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001942/0.426, allocations: 0.9844 MB / 0.5764 GB, free: 1.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.072e-05/0.4261, allocations: 48.59 kB / 0.5765 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.4261, allocations: 4 kB / 0.5765 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009954/0.4271, allocations: 301.6 kB / 0.5768 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000966/0.428, allocations: 179.7 kB / 0.577 GB, free: 500 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007373/0.4354, allocations: 5.031 MB / 0.5819 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004726/0.4359, allocations: 23.98 kB / 0.5819 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.003e-05/0.4359, allocations: 31.98 kB / 0.5819 GB, free: 11.18 MB / 430.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.asm_Y_D.rotor.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (system.initime,relay1.cnt,$PRE.relay1.cnt,$whenCondition1,relay1.y,$PRE.relay1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 1 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0005027/0.4364, allocations: 303.3 kB / 0.5822 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.716e-05/0.4365, allocations: 55.66 kB / 0.5823 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001329/0.4379, allocations: 0.6838 MB / 0.5829 GB, free: 10.1 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/0.4379, allocations: 7.938 kB / 0.5829 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.4379, allocations: 4 kB / 0.5829 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.016e-06/0.4379, allocations: 7.984 kB / 0.583 GB, free: 10.08 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002669/0.4406, allocations: 1.396 MB / 0.5843 GB, free: 8.605 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.4406, allocations: 7.938 kB / 0.5843 GB, free: 8.598 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001214/0.4418, allocations: 191.9 kB / 0.5845 GB, free: 8.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002533/0.442, allocations: 82.45 kB / 0.5846 GB, free: 8.32 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.558e-05/0.4421, allocations: 15.98 kB / 0.5846 GB, free: 8.305 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003684/0.4458, allocations: 3.935 MB / 0.5884 GB, free: 4.027 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4458, allocations: 0 / 0.5884 GB, free: 4.027 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/0.4475, allocations: 1.037 MB / 0.5895 GB, free: 2.938 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002558/0.4478, allocations: 91.62 kB / 0.5895 GB, free: 2.848 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.019e-05/0.4479, allocations: 15.98 kB / 0.5896 GB, free: 2.832 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002812/0.4482, allocations: 19.92 kB / 0.5896 GB, free: 2.812 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.4483, allocations: 31.94 kB / 0.5896 GB, free: 2.781 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.981e-05/0.4483, allocations: 16 kB / 0.5896 GB, free: 2.766 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004467/0.4488, allocations: 319.1 kB / 0.5899 GB, free: 2.457 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4488, allocations: 0 / 0.5899 GB, free: 2.457 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008017/0.4496, allocations: 164 kB / 0.5901 GB, free: 2.297 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (asm_Y_D.motor.i[3],asm_Y_D.motor.psi_s[1],asm_Y_D.motor.psi_s[2],asm_Y_D.motor.psi_rd[1],asm_Y_D.motor.psi_rq[1],loadInertia.w,frictTorq.phi) * Number of discrete variables: 4 ($whenCondition1,relay1.y,relay1.cnt,system.initime) * Number of discrete states: 3 (relay1.y,relay1.cnt,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * 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,1,100.0%), (1,1,100.0%), (1,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.001952/0.4515, allocations: 1.593 MB / 0.5916 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002038/0.4536, allocations: 1.014 MB / 0.5926 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.4536, allocations: 0 / 0.5926 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008851/0.4544, allocations: 0.6503 MB / 0.5933 GB, free: 14.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008334/0.4553, allocations: 129.9 kB / 0.5934 GB, free: 14.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/0.4653, allocations: 6.29 MB / 0.5995 GB, free: 8.152 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004952/0.4658, allocations: 385.9 kB / 0.5999 GB, free: 7.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003617/0.4662, allocations: 116.7 kB / 0.6 GB, free: 7.637 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003282/0.4665, allocations: 211.4 kB / 0.6002 GB, free: 7.434 MB / 446.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4665, allocations: 0 / 0.6002 GB, free: 7.434 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05147/0.518, allocations: 14.76 MB / 0.6146 GB, free: 8.945 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.32/14.84, allocations: 4.062 kB / 0.6146 GB, free: 8.941 MB / 462.1 MB " [Timeout remaining time 645] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASM_Y_D_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASM_Y_D.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.836894448962994] Failed to read output from testmodel.py, exit status != 0: 15.030470454948954 15.058540885 14.651549801 Calling exit ...