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.001437/0.001437, allocations: 92.31 kB / 20.96 MB, free: 3.469 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.001718/0.001718, allocations: 161.7 kB / 24.27 MB, free: 168 kB / 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 1.489/1.489, allocations: 177.2 MB / 204.6 MB, free: 5.59 MB / 186.7 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.3035/0.3035, allocations: 29.42 MB / 290.5 MB, free: 2.43 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.774e-06/1.774e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.404e-05/3.582e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.008872/0.008908, allocations: 5.519 MB / 374.4 MB, free: 5.754 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00815/0.01706, allocations: 4.082 MB / 378.5 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005399/0.0176, allocations: 23.81 kB / 378.5 MB, free: 1.633 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01192/0.02952, allocations: 5.551 MB / 384.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001359/0.03088, allocations: 449.4 kB / 384.5 MB, free: 11.63 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008749/0.03175, allocations: 287.4 kB / 384.8 MB, free: 11.35 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003094/0.03485, allocations: 1.836 MB / 386.6 MB, free: 9.508 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.03598, allocations: 0.6378 MB / 387.2 MB, free: 8.867 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.03713, allocations: 0.643 MB / 387.9 MB, free: 8.223 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008292/0.03796, allocations: 478.7 kB / 388.4 MB, free: 7.754 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.03808, allocations: 72 kB / 388.4 MB, free: 7.684 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003561/0.03844, allocations: 139.8 kB / 388.6 MB, free: 7.547 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000395/0.03883, allocations: 351.1 kB / 388.9 MB, free: 7.203 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003867/0.03922, allocations: 275.4 kB / 389.2 MB, free: 6.934 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001414/0.04063, allocations: 1.044 MB / 390.2 MB, free: 5.887 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.04064, allocations: 3.938 kB / 390.2 MB, free: 5.883 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.04064, allocations: 0 / 390.2 MB, free: 5.883 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.04065, allocations: 4 kB / 390.2 MB, free: 5.879 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.002083/0.04274, allocations: 0.9718 MB / 391.2 MB, free: 4.871 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.04278, allocations: 15.98 kB / 391.2 MB, free: 4.855 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006169/0.0434, allocations: 160.4 kB / 391.4 MB, free: 4.699 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001306/0.0447, allocations: 0.5746 MB / 391.9 MB, free: 4.098 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.04483, allocations: 87.3 kB / 392 MB, free: 4.008 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.04496, allocations: 60 kB / 392.1 MB, free: 3.949 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001646/0.04661, allocations: 0.8311 MB / 392.9 MB, free: 3.074 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.221e-05/0.04664, allocations: 11.95 kB / 392.9 MB, free: 3.062 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.005e-05/0.04671, allocations: 20 kB / 393 MB, free: 3.043 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001578/0.04687, allocations: 53.22 kB / 393 MB, free: 2.992 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/0.04799, allocations: 0.6235 MB / 393.6 MB, free: 2.363 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004473/0.05246, allocations: 2.602 MB / 396.2 MB, free: 15.67 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009814/0.05344, allocations: 423.9 kB / 396.6 MB, free: 15.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004065/0.05385, allocations: 240 kB / 396.9 MB, free: 14.99 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.297e-05/0.05388, allocations: 8.594 kB / 396.9 MB, free: 14.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006166/0.0545, allocations: 372.2 kB / 397.3 MB, free: 14.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 1.954e-06/0.0545, allocations: 0 / 397.3 MB, free: 14.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=45): time 0.003597/0.0581, allocations: 1.747 MB / 399 MB, free: 12.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/0.05822, allocations: 140.5 kB / 399.1 MB, free: 12.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007463/0.05897, allocations: 429.8 kB / 399.6 MB, free: 12.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.876e-05/0.05901, allocations: 29.7 kB / 399.6 MB, free: 12.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003391/0.05935, allocations: 344.5 kB / 399.9 MB, free: 11.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001823/0.05954, allocations: 166.6 kB / 400.1 MB, free: 11.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002076/0.05974, allocations: 114.3 kB / 400.2 MB, free: 11.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00024/0.05998, allocations: 358.7 kB / 400.5 MB, free: 11.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004446/0.06043, allocations: 262.9 kB / 400.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000602/0.06103, allocations: 423.4 kB / 401.2 MB, free: 10.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003092/0.06412, allocations: 1.258 MB / 402.5 MB, free: 9.059 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.06413, allocations: 4 kB / 402.5 MB, free: 9.055 MB / 378.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002122/0.06625, allocations: 1.013 MB / 403.5 MB, free: 8.016 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.663e-05/0.0663, allocations: 33.7 kB / 403.5 MB, free: 7.977 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.06631, allocations: 8 kB / 403.5 MB, free: 7.969 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001255/0.06757, allocations: 360.1 kB / 403.9 MB, free: 7.613 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009946/0.06856, allocations: 171.7 kB / 404.1 MB, free: 7.445 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008085/0.07665, allocations: 5.015 MB / 409.1 MB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004139/0.07706, allocations: 27.98 kB / 409.1 MB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.291e-05/0.07713, allocations: 24 kB / 409.1 MB, free: 2.184 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.00055/0.07768, allocations: 303.4 kB / 409.4 MB, free: 1.871 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.07783, allocations: 63.67 kB / 409.5 MB, free: 1.809 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001406/0.07924, allocations: 0.6873 MB / 410.2 MB, free: 1.094 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.07925, allocations: 4 kB / 410.2 MB, free: 1.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.07926, allocations: 7.984 kB / 410.2 MB, free: 1.082 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.07926, allocations: 0 / 410.2 MB, free: 1.082 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.002672/0.08194, allocations: 1.326 MB / 411.5 MB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.08194, allocations: 3.984 kB / 411.5 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001286/0.08323, allocations: 187.9 kB / 411.7 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002863/0.08352, allocations: 82.52 kB / 411.8 MB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.443e-05/0.08356, allocations: 8 kB / 411.8 MB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003976/0.08754, allocations: 3.89 MB / 415.7 MB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.08754, allocations: 0 / 415.7 MB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/0.08931, allocations: 1.044 MB / 416.7 MB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002891/0.0896, allocations: 95.62 kB / 416.8 MB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.672e-05/0.08969, allocations: 12.16 kB / 416.8 MB, free: 9.996 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002826/0.08997, allocations: 19.98 kB / 416.8 MB, free: 9.977 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.09008, allocations: 35.88 kB / 416.9 MB, free: 9.941 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.809e-05/0.09012, allocations: 16 kB / 416.9 MB, free: 9.926 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004098/0.09053, allocations: 287.1 kB / 417.2 MB, free: 9.648 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.09053, allocations: 0 / 417.2 MB, free: 9.648 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007919/0.09132, allocations: 164 kB / 417.3 MB, free: 9.488 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.0001951/0.09152, allocations: 111.2 kB / 417.4 MB, free: 9.371 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00234/0.09386, allocations: 1.017 MB / 418.5 MB, free: 8.309 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/0.09386, allocations: 7.938 kB / 418.5 MB, free: 8.301 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.09489, allocations: 0.6618 MB / 419.1 MB, free: 7.582 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007649/0.09565, allocations: 121.7 kB / 419.2 MB, free: 7.473 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003305/0.09896, allocations: 1.532 MB / 420.8 MB, free: 5.891 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005844/0.09954, allocations: 385.7 kB / 421.2 MB, free: 5.488 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003816/0.09992, allocations: 116.5 kB / 421.3 MB, free: 5.371 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.1001, allocations: 48.47 kB / 421.3 MB, free: 5.324 MB / 394.7 MB Notification: Performance of SimCode: time 1.042e-06/0.1001, allocations: 0 / 421.3 MB, free: 5.324 MB / 394.7 MB Notification: Performance of Templates: time 0.01789/0.118, allocations: 7.721 MB / 429 MB, free: 13.73 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.069971542921849]