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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 112.2 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 180.9 kB / 23.71 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 225.6 MB / 252.5 MB, free: 13 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.2137/0.2137, allocations: 38.53 MB / 346.3 MB, free: 2.043 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D") translateModel(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 67.89 kB / 484.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4344/0.4366, allocations: 61.29 MB / 0.533 GB, free: 5.559 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.007845/0.4445, allocations: 5.896 MB / 0.5388 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008666/0.4531, allocations: 4.489 MB / 0.5432 GB, free: 13.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008021/0.4539, allocations: 24 kB / 0.5432 GB, free: 13.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01446/0.4684, allocations: 5.508 MB / 0.5486 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002223/0.4706, allocations: 450.3 kB / 0.549 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.4718, allocations: 278.2 kB / 0.5493 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003459/0.4753, allocations: 1.805 MB / 0.551 GB, free: 9.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001067/0.4763, allocations: 0.5844 MB / 0.5516 GB, free: 8.656 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001193/0.4775, allocations: 492.9 kB / 0.5521 GB, free: 8.387 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008977/0.4784, allocations: 0.5484 MB / 0.5526 GB, free: 8.035 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.4785, allocations: 72 kB / 0.5527 GB, free: 7.965 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003636/0.4789, allocations: 147.8 kB / 0.5528 GB, free: 7.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003534/0.4793, allocations: 339.1 kB / 0.5531 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004322/0.4797, allocations: 394.2 kB / 0.5535 GB, free: 7.102 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001443/0.4811, allocations: 1.035 MB / 0.5545 GB, free: 6.062 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4811, allocations: 4 kB / 0.5545 GB, free: 6.059 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4811, allocations: 0 / 0.5545 GB, free: 6.059 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.4812, allocations: 0 / 0.5545 GB, free: 6.059 MB / 398.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.002051/0.4832, allocations: 0.9835 MB / 0.5555 GB, free: 5.031 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.4832, allocations: 12.03 kB / 0.5555 GB, free: 5.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004588/0.4837, allocations: 100.4 kB / 0.5556 GB, free: 4.922 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.485, allocations: 0.5631 MB / 0.5561 GB, free: 4.332 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/0.4851, allocations: 75.02 kB / 0.5562 GB, free: 4.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.4853, allocations: 67.97 kB / 0.5563 GB, free: 4.184 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.4867, allocations: 0.8021 MB / 0.5571 GB, free: 3.344 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.92e-05/0.4867, allocations: 7.953 kB / 0.5571 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.585e-05/0.4868, allocations: 24 kB / 0.5571 GB, free: 3.312 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001412/0.4869, allocations: 57.2 kB / 0.5571 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.488, allocations: 0.5867 MB / 0.5577 GB, free: 2.672 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004704/0.4927, allocations: 2.847 MB / 0.5605 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008577/0.4935, allocations: 406 kB / 0.5609 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003421/0.4939, allocations: 206.3 kB / 0.5611 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.406e-05/0.4939, allocations: 4.656 kB / 0.5611 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005521/0.4945, allocations: 346.5 kB / 0.5614 GB, free: 14.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.034e-06/0.4945, allocations: 0 / 0.5614 GB, free: 14.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.003409/0.4979, allocations: 1.678 MB / 0.5631 GB, free: 13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.498, allocations: 140.5 kB / 0.5632 GB, free: 12.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005809/0.4986, allocations: 453.8 kB / 0.5636 GB, free: 12.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.4986, allocations: 29.7 kB / 0.5637 GB, free: 12.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003027/0.4989, allocations: 340.6 kB / 0.564 GB, free: 12.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/0.4991, allocations: 174.6 kB / 0.5641 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000203/0.4993, allocations: 114.3 kB / 0.5643 GB, free: 11.72 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002283/0.4995, allocations: 358.8 kB / 0.5646 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004464/0.4999, allocations: 233.2 kB / 0.5648 GB, free: 11.13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000527/0.5005, allocations: 401.7 kB / 0.5652 GB, free: 10.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002993/0.5035, allocations: 1.248 MB / 0.5664 GB, free: 9.348 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.5035, allocations: 3.938 kB / 0.5664 GB, free: 9.344 MB / 414.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001953/0.5054, allocations: 0.9594 MB / 0.5674 GB, free: 8.363 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.294e-05/0.5055, allocations: 33.7 kB / 0.5674 GB, free: 8.324 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.5055, allocations: 4 kB / 0.5674 GB, free: 8.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009341/0.5064, allocations: 316.4 kB / 0.5677 GB, free: 8.008 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009995/0.5074, allocations: 175.7 kB / 0.5679 GB, free: 7.836 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007356/0.5148, allocations: 5.089 MB / 0.5728 GB, free: 2.531 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004204/0.5152, allocations: 27.92 kB / 0.5729 GB, free: 2.504 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.208e-05/0.5152, allocations: 28 kB / 0.5729 GB, free: 2.477 MB / 414.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.0004599/0.5157, allocations: 291.4 kB / 0.5732 GB, free: 2.176 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.132e-05/0.5158, allocations: 63.56 kB / 0.5732 GB, free: 2.113 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/0.517, allocations: 0.6588 MB / 0.5739 GB, free: 1.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.517, allocations: 7.938 kB / 0.5739 GB, free: 1.422 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.517, allocations: 4 kB / 0.5739 GB, free: 1.418 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.5171, allocations: 0 / 0.5739 GB, free: 1.418 MB / 414.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.002615/0.5197, allocations: 1.484 MB / 0.5753 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.5197, allocations: 4 kB / 0.5753 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001331/0.521, allocations: 191.9 kB / 0.5755 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000259/0.5213, allocations: 86.45 kB / 0.5756 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001556/0.5214, allocations: 15.94 kB / 0.5756 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004001/0.5254, allocations: 3.943 MB / 0.5795 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.5254, allocations: 4.031 kB / 0.5795 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001678/0.5271, allocations: 0.9782 MB / 0.5804 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002778/0.5274, allocations: 99.52 kB / 0.5805 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.13e-05/0.5275, allocations: 19.94 kB / 0.5805 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002723/0.5277, allocations: 19.98 kB / 0.5806 GB, free: 10.1 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.596e-05/0.5278, allocations: 35.94 kB / 0.5806 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.946e-05/0.5279, allocations: 15.98 kB / 0.5806 GB, free: 10.05 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000421/0.5283, allocations: 311.1 kB / 0.5809 GB, free: 9.742 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5283, allocations: 0 / 0.5809 GB, free: 9.742 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008749/0.5292, allocations: 168 kB / 0.5811 GB, free: 9.578 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.0001746/0.5293, allocations: 115.5 kB / 0.5812 GB, free: 9.453 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002134/0.5315, allocations: 0.9598 MB / 0.5821 GB, free: 8.457 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.5315, allocations: 8.75 kB / 0.5821 GB, free: 8.449 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008856/0.5324, allocations: 0.6242 MB / 0.5827 GB, free: 7.773 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000764/0.5331, allocations: 129 kB / 0.5829 GB, free: 7.652 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003202/0.5363, allocations: 1.686 MB / 0.5845 GB, free: 5.926 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000765/0.5371, allocations: 0.98 MB / 0.5855 GB, free: 4.918 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003373/0.5374, allocations: 120.7 kB / 0.5856 GB, free: 4.801 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.5376, allocations: 39.44 kB / 0.5856 GB, free: 4.762 MB / 430.1 MB Notification: Performance of SimCode: time 1.022e-06/0.5376, allocations: 0 / 0.5856 GB, free: 4.762 MB / 430.1 MB Notification: Performance of Templates: time 0.01962/0.5572, allocations: 8.994 MB / 0.5944 GB, free: 11.83 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.makefile [Timeout 660] (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 & ./PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.557282235473394] Failed to read output from testmodel.py, exit status != 0: 0.5665304223075509 0.582880972 0.09785753700000001 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f225d2a97b0>