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.00128/0.00128, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001402/0.001402, allocations: 209.9 kB / 24.49 MB, free: 4.148 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.374/1.374, allocations: 230.6 MB / 258.3 MB, free: 7.988 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.1799/0.1799, allocations: 38.52 MB / 353.2 MB, free: 12.55 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: 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: 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.001982/0.001982, allocations: 67.89 kB / 493.8 MB, free: 4.387 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2999, allocations: 62.47 MB / 0.5432 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.007793/0.3077, allocations: 5.902 MB / 0.549 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007086/0.3147, allocations: 4.532 MB / 0.5534 GB, free: 8.414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004598/0.3152, allocations: 23.84 kB / 0.5534 GB, free: 8.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01085/0.3261, allocations: 5.535 MB / 0.5588 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001278/0.3273, allocations: 450 kB / 0.5593 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007564/0.3281, allocations: 271.5 kB / 0.5595 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00267/0.3308, allocations: 1.812 MB / 0.5613 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009039/0.3317, allocations: 0.6337 MB / 0.5619 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007388/0.3324, allocations: 494.4 kB / 0.5624 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008007/0.3332, allocations: 0.5372 MB / 0.5629 GB, free: 276 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001186/0.3333, allocations: 72 kB / 0.563 GB, free: 204 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003309/0.3336, allocations: 151.8 kB / 0.5631 GB, free: 52 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003671/0.334, allocations: 335.3 kB / 0.5635 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004232/0.3344, allocations: 402.1 kB / 0.5638 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.3357, allocations: 1.031 MB / 0.5648 GB, free: 14.29 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3357, allocations: 4 kB / 0.5648 GB, free: 14.29 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3357, allocations: 0 / 0.5648 GB, free: 14.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.856e-05/0.3357, allocations: 3.938 kB / 0.5649 GB, free: 14.28 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.001955/0.3377, allocations: 0.968 MB / 0.5658 GB, free: 13.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.3377, allocations: 15.98 kB / 0.5658 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004371/0.3382, allocations: 108.4 kB / 0.5659 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001216/0.3394, allocations: 0.5476 MB / 0.5664 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/0.3395, allocations: 79 kB / 0.5665 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.3396, allocations: 67.89 kB / 0.5666 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.3409, allocations: 0.806 MB / 0.5674 GB, free: 11.58 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/0.3409, allocations: 3.938 kB / 0.5674 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.399e-05/0.341, allocations: 31.98 kB / 0.5674 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001318/0.3411, allocations: 53.28 kB / 0.5675 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00099/0.3421, allocations: 0.5828 MB / 0.568 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004376/0.3465, allocations: 2.847 MB / 0.5708 GB, free: 7.969 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008443/0.3473, allocations: 410.1 kB / 0.5712 GB, free: 7.551 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003368/0.3477, allocations: 206.3 kB / 0.5714 GB, free: 7.344 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.441e-05/0.3477, allocations: 8.594 kB / 0.5714 GB, free: 7.336 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005152/0.3482, allocations: 346.3 kB / 0.5717 GB, free: 6.973 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 3.997e-06/0.3482, allocations: 3.984 kB / 0.5717 GB, free: 6.969 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.003235/0.3515, allocations: 1.677 MB / 0.5734 GB, free: 5.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.81e-05/0.3516, allocations: 140.4 kB / 0.5735 GB, free: 5.062 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000545/0.3521, allocations: 457.8 kB / 0.5739 GB, free: 4.605 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.719e-05/0.3522, allocations: 33.7 kB / 0.574 GB, free: 4.566 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002856/0.3524, allocations: 336.6 kB / 0.5743 GB, free: 4.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/0.3526, allocations: 174.6 kB / 0.5745 GB, free: 4.059 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/0.3528, allocations: 110.3 kB / 0.5746 GB, free: 3.945 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.353, allocations: 362.8 kB / 0.5749 GB, free: 3.582 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000393/0.3534, allocations: 233.2 kB / 0.5751 GB, free: 3.352 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005035/0.3539, allocations: 393.7 kB / 0.5755 GB, free: 2.902 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002883/0.3567, allocations: 1.252 MB / 0.5767 GB, free: 1.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.3568, allocations: 0 / 0.5767 GB, free: 1.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001908/0.3587, allocations: 0.9632 MB / 0.5777 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.362e-05/0.3587, allocations: 37.69 kB / 0.5777 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.3587, allocations: 8 kB / 0.5777 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009229/0.3596, allocations: 304.3 kB / 0.578 GB, free: 240 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000933/0.3606, allocations: 179.7 kB / 0.5782 GB, free: 60 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007295/0.3679, allocations: 5.081 MB / 0.5831 GB, free: 10.76 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004245/0.3683, allocations: 31.86 kB / 0.5832 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-05/0.3683, allocations: 24 kB / 0.5832 GB, free: 10.7 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.0004412/0.3688, allocations: 299.3 kB / 0.5835 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.3689, allocations: 59.61 kB / 0.5835 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001227/0.3701, allocations: 0.651 MB / 0.5842 GB, free: 9.66 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.435e-06/0.3701, allocations: 11.88 kB / 0.5842 GB, free: 9.648 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.3701, allocations: 4 kB / 0.5842 GB, free: 9.645 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.138e-06/0.3701, allocations: 8.062 kB / 0.5842 GB, free: 9.637 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.002518/0.3727, allocations: 1.483 MB / 0.5857 GB, free: 8.066 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.3727, allocations: 0 / 0.5857 GB, free: 8.066 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/0.3739, allocations: 191.9 kB / 0.5858 GB, free: 7.879 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002412/0.3741, allocations: 78.52 kB / 0.5859 GB, free: 7.793 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.73e-05/0.3742, allocations: 23.92 kB / 0.5859 GB, free: 7.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003302/0.3775, allocations: 3.951 MB / 0.5898 GB, free: 3.477 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3775, allocations: 0 / 0.5898 GB, free: 3.477 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001584/0.379, allocations: 0.9707 MB / 0.5907 GB, free: 2.465 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002669/0.3793, allocations: 99.56 kB / 0.5908 GB, free: 2.367 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.568e-05/0.3794, allocations: 15.98 kB / 0.5908 GB, free: 2.352 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002667/0.3797, allocations: 19.98 kB / 0.5909 GB, free: 2.332 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.651e-05/0.3798, allocations: 35.88 kB / 0.5909 GB, free: 2.297 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.459e-05/0.3798, allocations: 16 kB / 0.5909 GB, free: 2.281 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003911/0.3802, allocations: 315.1 kB / 0.5912 GB, free: 1.977 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3802, allocations: 4 kB / 0.5912 GB, free: 1.973 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007034/0.3809, allocations: 160 kB / 0.5914 GB, free: 1.816 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.0001559/0.381, allocations: 115.2 kB / 0.5915 GB, free: 1.691 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001873/0.3829, allocations: 0.9555 MB / 0.5924 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3829, allocations: 4.812 kB / 0.5924 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008492/0.3838, allocations: 0.632 MB / 0.593 GB, free: 8 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007387/0.3845, allocations: 136.1 kB / 0.5932 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002895/0.3874, allocations: 1.733 MB / 0.5949 GB, free: 14.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006896/0.3881, allocations: 0.98 MB / 0.5958 GB, free: 13.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.3882, allocations: 43.42 kB / 0.5959 GB, free: 13.04 MB / 446.1 MB Notification: Performance of SimCode: time 6.42e-07/0.3882, allocations: 0 / 0.5959 GB, free: 13.04 MB / 446.1 MB Notification: Performance of Templates: time 0.0192/0.4074, allocations: 14.78 MB / 0.6103 GB, free: 14.28 MB / 462.1 MB " [Timeout remaining time 660] 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: 8.869486478157341] Failed to read output from testmodel.py, exit status != 0: 0.41648356802761555 0.43063348399999996 0.091774216 Calling exit ...