Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.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.0009497/0.0009497, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009082/0.0009082, allocations: 161 kB / 24.56 MB, free: 16 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 0.9862/0.9862, allocations: 177.1 MB / 205 MB, free: 5.637 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.2587/0.2587, allocations: 29.42 MB / 290.9 MB, free: 2.504 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.ASMcharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.685e-05/3.893e-05, allocations: 6.312 kB / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.009108/0.009147, allocations: 5.205 MB / 374.8 MB, free: 5.777 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005206/0.01435, allocations: 3.814 MB / 378.7 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00049/0.01484, allocations: 23.81 kB / 378.7 MB, free: 1.926 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007987/0.02283, allocations: 5.345 MB / 384 MB, free: 12.57 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000855/0.02368, allocations: 338.1 kB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004933/0.02418, allocations: 223.5 kB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001672/0.02585, allocations: 1.66 MB / 386.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007007/0.02655, allocations: 0.5457 MB / 386.8 MB, free: 9.809 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000614/0.02717, allocations: 0.5027 MB / 387.3 MB, free: 9.305 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000546/0.02771, allocations: 394.9 kB / 387.7 MB, free: 8.918 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.581e-05/0.02779, allocations: 59.94 kB / 387.7 MB, free: 8.859 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.02795, allocations: 60 kB / 387.8 MB, free: 8.801 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002194/0.02817, allocations: 275.3 kB / 388.1 MB, free: 8.531 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001879/0.02836, allocations: 223.5 kB / 388.3 MB, free: 8.312 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006271/0.02898, allocations: 0.4983 MB / 388.8 MB, free: 7.812 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.02899, allocations: 0 / 388.8 MB, free: 7.812 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.02899, allocations: 4 kB / 388.8 MB, free: 7.809 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.029, allocations: 0 / 388.8 MB, free: 7.809 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001175/0.03018, allocations: 0.9178 MB / 389.7 MB, free: 6.852 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.03022, allocations: 11.98 kB / 389.7 MB, free: 6.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002652/0.03048, allocations: 112.5 kB / 389.8 MB, free: 6.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007731/0.03126, allocations: 0.5095 MB / 390.3 MB, free: 6.195 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.394e-05/0.03129, allocations: 41.36 kB / 390.4 MB, free: 6.152 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.023e-05/0.03136, allocations: 47.89 kB / 390.4 MB, free: 6.105 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005223/0.03188, allocations: 449.2 kB / 390.8 MB, free: 5.617 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.0319, allocations: 8 kB / 390.9 MB, free: 5.609 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.573e-05/0.03194, allocations: 19.98 kB / 390.9 MB, free: 5.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.804e-05/0.03203, allocations: 52.89 kB / 390.9 MB, free: 5.539 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003246/0.03235, allocations: 205.7 kB / 391.1 MB, free: 5.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001963/0.03431, allocations: 2.503 MB / 393.6 MB, free: 2.703 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/0.03457, allocations: 194.2 kB / 393.8 MB, free: 2.488 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.777e-05/0.03467, allocations: 79.41 kB / 393.9 MB, free: 2.402 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.03469, allocations: 4 kB / 393.9 MB, free: 2.398 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.03472, allocations: 41.39 kB / 393.9 MB, free: 2.348 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 1.522e-06/0.03472, allocations: 0 / 393.9 MB, free: 2.348 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.001572/0.03629, allocations: 0.9326 MB / 394.9 MB, free: 1.367 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.03634, allocations: 89.03 kB / 395 MB, free: 1.262 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002935/0.03663, allocations: 414.6 kB / 395.4 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.03665, allocations: 29.7 kB / 395.4 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.03684, allocations: 362.8 kB / 395.8 MB, free: 452 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.439e-05/0.03691, allocations: 119 kB / 395.9 MB, free: 332 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.862e-05/0.037, allocations: 87.81 kB / 396 MB, free: 236 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.03717, allocations: 0.5313 MB / 396.5 MB, free: 15.69 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.456e-05/0.03726, allocations: 52.97 kB / 396.5 MB, free: 15.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.03745, allocations: 262.3 kB / 396.8 MB, free: 15.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003086/0.03776, allocations: 353.1 kB / 397.1 MB, free: 14.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.03776, allocations: 11.94 kB / 397.1 MB, free: 14.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000567/0.03833, allocations: 452.5 kB / 397.6 MB, free: 14.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.03835, allocations: 8 kB / 397.6 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.03836, allocations: 8 kB / 397.6 MB, free: 14.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003084/0.03867, allocations: 119.6 kB / 397.7 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.03886, allocations: 79.83 kB / 397.8 MB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002067/0.04092, allocations: 3.82 MB / 401.6 MB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.04105, allocations: 19.98 kB / 401.6 MB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.04107, allocations: 20 kB / 401.7 MB, free: 10.06 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * 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): 2 systems {(2,6,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001478/0.04122, allocations: 192.4 kB / 401.8 MB, free: 9.859 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.415e-05/0.04128, allocations: 51.72 kB / 401.9 MB, free: 9.809 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004762/0.04175, allocations: 337.3 kB / 402.2 MB, free: 9.465 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.04176, allocations: 7.984 kB / 402.2 MB, free: 9.457 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003584/0.04212, allocations: 274.5 kB / 402.5 MB, free: 9.168 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.04212, allocations: 4 kB / 402.5 MB, free: 9.164 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008853/0.04301, allocations: 0.7813 MB / 403.3 MB, free: 8.324 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.04301, allocations: 4.031 kB / 403.3 MB, free: 8.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.04314, allocations: 43.91 kB / 403.3 MB, free: 8.277 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002329/0.04338, allocations: 75.89 kB / 403.4 MB, free: 8.199 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.0434, allocations: 8 kB / 403.4 MB, free: 8.191 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001416/0.04481, allocations: 2.022 MB / 405.4 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.04482, allocations: 4 kB / 405.4 MB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006144/0.04543, allocations: 0.4973 MB / 405.9 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.914e-05/0.04553, allocations: 63.69 kB / 406 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/0.04556, allocations: 11.94 kB / 406 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.04569, allocations: 4 kB / 406 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.349e-05/0.04576, allocations: 27.89 kB / 406 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.04578, allocations: 8 kB / 406.1 MB, free: 5.398 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002399/0.04602, allocations: 271.1 kB / 406.3 MB, free: 5.137 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.04602, allocations: 4 kB / 406.3 MB, free: 5.133 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005102/0.04653, allocations: 116 kB / 406.4 MB, free: 5.02 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (asm.rotor.phi,asm.rotor.w) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001201/0.04665, allocations: 107.2 kB / 406.5 MB, free: 4.902 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007866/0.04743, allocations: 0.6096 MB / 407.2 MB, free: 4.258 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.04744, allocations: 4.125 kB / 407.2 MB, free: 4.254 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003028/0.04774, allocations: 309.2 kB / 407.5 MB, free: 3.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005095/0.04825, allocations: 85.86 kB / 407.5 MB, free: 3.848 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/0.05031, allocations: 1.001 MB / 408.5 MB, free: 2.797 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001404/0.05045, allocations: 169.2 kB / 408.7 MB, free: 2.609 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001731/0.05062, allocations: 67.42 kB / 408.8 MB, free: 2.543 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.05076, allocations: 32.48 kB / 408.8 MB, free: 2.508 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/0.05076, allocations: 0 / 408.8 MB, free: 2.508 MB / 378.7 MB Notification: Performance of Templates: time 0.009427/0.06019, allocations: 5.268 MB / 414.1 MB, free: 13.35 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2471940559335053]