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.001132/0.001132, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 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.001199/0.001199, allocations: 169.9 kB / 24.99 MB, free: 8.289 MB / 18.57 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 0.9923/0.9923, allocations: 177.1 MB / 205.3 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] 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.2385/0.2385, allocations: 29.42 MB / 291.2 MB, free: 2.516 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 369.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.994e-05/2.156e-05, allocations: 2.312 kB / 369.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.005457/0.005478, allocations: 5.873 MB / 375.5 MB, free: 5.434 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004785/0.01026, allocations: 4.277 MB / 379.8 MB, free: 1.141 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003021/0.01057, allocations: 27.75 kB / 379.8 MB, free: 1.113 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008164/0.01873, allocations: 5.536 MB / 385.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006614/0.01939, allocations: 461.4 kB / 385.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008911/0.02028, allocations: 287.4 kB / 386.1 MB, free: 10.83 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001923/0.0222, allocations: 1.843 MB / 387.9 MB, free: 8.98 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006669/0.02287, allocations: 0.6379 MB / 388.5 MB, free: 8.34 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006427/0.02351, allocations: 0.643 MB / 389.2 MB, free: 7.695 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006404/0.02415, allocations: 494.6 kB / 389.7 MB, free: 7.211 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.79e-05/0.02424, allocations: 76 kB / 389.7 MB, free: 7.137 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002212/0.02446, allocations: 139.7 kB / 389.9 MB, free: 7 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002779/0.02474, allocations: 355.1 kB / 390.2 MB, free: 6.652 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005086/0.02525, allocations: 275.4 kB / 390.5 MB, free: 6.383 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007149/0.02596, allocations: 0.6541 MB / 391.1 MB, free: 5.727 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.02597, allocations: 4 kB / 391.2 MB, free: 5.723 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.02597, allocations: 4 kB / 391.2 MB, free: 5.719 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.02598, allocations: 0 / 391.2 MB, free: 5.719 MB / 362.7 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.001388/0.02736, allocations: 1.087 MB / 392.2 MB, free: 4.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.0274, allocations: 11.98 kB / 392.3 MB, free: 4.578 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004253/0.02783, allocations: 156.4 kB / 392.4 MB, free: 4.426 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008518/0.02868, allocations: 0.5696 MB / 393 MB, free: 3.828 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.405e-05/0.02875, allocations: 75.33 kB / 393.1 MB, free: 3.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.02885, allocations: 71.92 kB / 393.1 MB, free: 3.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008134/0.02967, allocations: 0.59 MB / 393.7 MB, free: 3.031 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.02969, allocations: 0 / 393.7 MB, free: 3.031 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.04e-05/0.02974, allocations: 27.94 kB / 393.7 MB, free: 3.004 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001051/0.02984, allocations: 53.28 kB / 393.8 MB, free: 2.953 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005355/0.03038, allocations: 297.2 kB / 394.1 MB, free: 2.656 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002671/0.03305, allocations: 2.704 MB / 396.8 MB, free: 15.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005168/0.03357, allocations: 296 kB / 397.1 MB, free: 15.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004894/0.03406, allocations: 145.7 kB / 397.2 MB, free: 15.37 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.03408, allocations: 8.656 kB / 397.2 MB, free: 15.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005793/0.03466, allocations: 279.5 kB / 397.5 MB, free: 15.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 1.503e-06/0.03466, allocations: 0 / 397.5 MB, free: 15.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=45): time 0.001996/0.03666, allocations: 1.252 MB / 398.8 MB, free: 13.72 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/0.03673, allocations: 144.5 kB / 398.9 MB, free: 13.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003606/0.03709, allocations: 442.5 kB / 399.3 MB, free: 13.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.03712, allocations: 37.7 kB / 399.4 MB, free: 13.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.03733, allocations: 395.2 kB / 399.7 MB, free: 12.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.03745, allocations: 166.6 kB / 399.9 MB, free: 12.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.03759, allocations: 119.9 kB / 400 MB, free: 12.37 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.03775, allocations: 0.5469 MB / 400.6 MB, free: 11.81 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.03795, allocations: 126.9 kB / 400.7 MB, free: 11.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000311/0.03826, allocations: 357.7 kB / 401 MB, free: 11.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007402/0.039, allocations: 0.6075 MB / 401.7 MB, free: 10.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.039, allocations: 4 kB / 401.7 MB, free: 10.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001118/0.04012, allocations: 0.6908 MB / 402.3 MB, free: 9.801 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.196e-05/0.04015, allocations: 33.7 kB / 402.4 MB, free: 9.762 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.04016, allocations: 11.94 kB / 402.4 MB, free: 9.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007434/0.04091, allocations: 265.8 kB / 402.7 MB, free: 9.488 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000634/0.04154, allocations: 175.8 kB / 402.8 MB, free: 9.316 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004319/0.04586, allocations: 4.793 MB / 407.6 MB, free: 4.289 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.04608, allocations: 23.98 kB / 407.6 MB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.2e-05/0.04612, allocations: 28 kB / 407.7 MB, free: 4.238 MB / 378.7 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.000193/0.04631, allocations: 222.1 kB / 407.9 MB, free: 4.004 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.949e-05/0.04639, allocations: 63.67 kB / 407.9 MB, free: 3.941 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009677/0.04736, allocations: 0.5003 MB / 408.4 MB, free: 3.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.04736, allocations: 4 kB / 408.5 MB, free: 3.406 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.04737, allocations: 4 kB / 408.5 MB, free: 3.402 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.04737, allocations: 0 / 408.5 MB, free: 3.402 MB / 378.7 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.001441/0.04882, allocations: 1.112 MB / 409.6 MB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.04882, allocations: 0 / 409.6 MB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008183/0.04964, allocations: 191.9 kB / 409.8 MB, free: 2.023 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000155/0.04979, allocations: 74.95 kB / 409.8 MB, free: 1.938 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.999e-05/0.04982, allocations: 12 kB / 409.8 MB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00255/0.05237, allocations: 5.188 MB / 415 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.05238, allocations: 3.938 kB / 415 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009166/0.05329, allocations: 0.7834 MB / 415.8 MB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/0.05343, allocations: 91.62 kB / 415.9 MB, free: 11.42 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.172e-05/0.05349, allocations: 12 kB / 415.9 MB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.05367, allocations: 19.98 kB / 415.9 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.556e-05/0.05375, allocations: 31.94 kB / 416 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.05378, allocations: 12 kB / 416 MB, free: 11.35 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002188/0.054, allocations: 283 kB / 416.3 MB, free: 11.07 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.054, allocations: 0 / 416.3 MB, free: 11.07 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005716/0.05457, allocations: 168 kB / 416.4 MB, free: 10.91 MB / 394.7 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.0001206/0.05469, allocations: 113.8 kB / 416.5 MB, free: 10.79 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001183/0.05587, allocations: 0.9465 MB / 417.5 MB, free: 9.781 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.05587, allocations: 0.8125 kB / 417.5 MB, free: 9.781 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005088/0.05638, allocations: 0.7403 MB / 418.2 MB, free: 8.965 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009123/0.0573, allocations: 132.2 kB / 418.3 MB, free: 8.848 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002665/0.05996, allocations: 1.404 MB / 419.8 MB, free: 7.387 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001656/0.06013, allocations: 198 kB / 419.9 MB, free: 7.172 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002347/0.06036, allocations: 100.5 kB / 420 MB, free: 7.074 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.741e-05/0.06046, allocations: 36.5 kB / 420.1 MB, free: 7.039 MB / 394.7 MB Notification: Performance of SimCode: time 9.22e-07/0.06046, allocations: 0 / 420.1 MB, free: 7.039 MB / 394.7 MB Notification: Performance of Templates: time 0.01186/0.07232, allocations: 7.806 MB / 427.9 MB, free: 15.35 MB / 410.7 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2242986280471087]