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.00144/0.00144, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.001546/0.001546, allocations: 161.7 kB / 24.26 MB, free: 176 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.468/1.468, allocations: 177.2 MB / 204.6 MB, free: 5.586 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.3096/0.3096, allocations: 29.42 MB / 290.5 MB, free: 2.414 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.285e-06/2.285e-06, allocations: 0 / 368.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.997e-05/3.225e-05, allocations: 2.312 kB / 368.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.01156/0.01159, allocations: 5.077 MB / 374 MB, free: 6.18 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01009/0.02167, allocations: 3.634 MB / 377.6 MB, free: 2.531 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006595/0.02233, allocations: 23.81 kB / 377.6 MB, free: 2.508 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01795/0.04029, allocations: 5.43 MB / 383.1 MB, free: 13.07 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001587/0.04187, allocations: 334 kB / 383.4 MB, free: 12.74 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009534/0.04283, allocations: 227.5 kB / 383.6 MB, free: 12.52 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003888/0.04672, allocations: 1.668 MB / 385.3 MB, free: 10.84 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001193/0.04791, allocations: 0.5302 MB / 385.8 MB, free: 10.31 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001333/0.04924, allocations: 0.4988 MB / 386.3 MB, free: 9.812 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000889/0.05013, allocations: 398.8 kB / 386.7 MB, free: 9.422 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000127/0.05026, allocations: 56 kB / 386.7 MB, free: 9.367 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002431/0.0505, allocations: 71.98 kB / 386.8 MB, free: 9.297 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004146/0.05091, allocations: 267.3 kB / 387.1 MB, free: 9.035 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004066/0.05132, allocations: 215.5 kB / 387.3 MB, free: 8.824 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001511/0.05283, allocations: 0.8295 MB / 388.1 MB, free: 7.992 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.05284, allocations: 0 / 388.1 MB, free: 7.992 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.05284, allocations: 0 / 388.1 MB, free: 7.992 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.05285, allocations: 0 / 388.1 MB, free: 7.992 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.002384/0.05523, allocations: 0.8027 MB / 388.9 MB, free: 7.156 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.05528, allocations: 11.98 kB / 388.9 MB, free: 7.145 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005368/0.05582, allocations: 112.5 kB / 389 MB, free: 7.035 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001648/0.05747, allocations: 0.5186 MB / 389.6 MB, free: 6.492 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.456e-05/0.05753, allocations: 29.38 kB / 389.6 MB, free: 6.461 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.05766, allocations: 51.94 kB / 389.6 MB, free: 6.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/0.05884, allocations: 0.6336 MB / 390.3 MB, free: 5.738 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/0.05887, allocations: 3.953 kB / 390.3 MB, free: 5.734 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.599e-05/0.05892, allocations: 20 kB / 390.3 MB, free: 5.715 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001334/0.05905, allocations: 48.91 kB / 390.3 MB, free: 5.668 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008288/0.05988, allocations: 467.6 kB / 390.8 MB, free: 5.211 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005096/0.06498, allocations: 2.242 MB / 393 MB, free: 2.852 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000717/0.0657, allocations: 261.1 kB / 393.3 MB, free: 2.578 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003335/0.06603, allocations: 129.7 kB / 393.4 MB, free: 2.445 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.06606, allocations: 4 kB / 393.4 MB, free: 2.441 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.172e-05/0.06611, allocations: 34.56 kB / 393.5 MB, free: 2.398 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 2.214e-06/0.06612, allocations: 4 kB / 393.5 MB, free: 2.395 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.004639/0.07075, allocations: 1.251 MB / 394.7 MB, free: 1.102 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.057e-05/0.07084, allocations: 89.17 kB / 394.8 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007502/0.07159, allocations: 389.5 kB / 395.2 MB, free: 0.6094 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.929e-05/0.07165, allocations: 29.7 kB / 395.2 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003757/0.07203, allocations: 308.1 kB / 395.5 MB, free: 276 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/0.0722, allocations: 115 kB / 395.6 MB, free: 160 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002035/0.07241, allocations: 86.14 kB / 395.7 MB, free: 68 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002952/0.0727, allocations: 346.8 kB / 396 MB, free: 15.72 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003542/0.07306, allocations: 132.9 kB / 396.2 MB, free: 15.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005495/0.0736, allocations: 282.9 kB / 396.5 MB, free: 15.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009748/0.07458, allocations: 453.9 kB / 396.9 MB, free: 14.74 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.868e-06/0.07459, allocations: 7.938 kB / 396.9 MB, free: 14.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001774/0.07636, allocations: 0.6039 MB / 397.5 MB, free: 14.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.07639, allocations: 8.531 kB / 397.5 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.0764, allocations: 4 kB / 397.5 MB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007908/0.07719, allocations: 169.6 kB / 397.7 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004665/0.07766, allocations: 83.84 kB / 397.8 MB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006118/0.08377, allocations: 3.408 MB / 401.2 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000478/0.08425, allocations: 20.06 kB / 401.2 MB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.281e-05/0.08429, allocations: 20 kB / 401.2 MB, free: 10.19 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.0005452/0.08484, allocations: 237.5 kB / 401.4 MB, free: 9.949 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.08499, allocations: 55.66 kB / 401.5 MB, free: 9.895 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001578/0.08657, allocations: 0.4918 MB / 402 MB, free: 9.387 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.08658, allocations: 4 kB / 402 MB, free: 9.383 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.001066/0.08764, allocations: 410.1 kB / 402.4 MB, free: 8.965 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.08765, allocations: 3.938 kB / 402.4 MB, free: 8.961 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002313/0.08996, allocations: 0.853 MB / 403.3 MB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.08997, allocations: 0 / 403.3 MB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003853/0.09035, allocations: 47.91 kB / 403.3 MB, free: 8.012 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005215/0.09087, allocations: 93.11 kB / 403.4 MB, free: 7.918 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.334e-05/0.09091, allocations: 8 kB / 403.4 MB, free: 7.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003467/0.09438, allocations: 1.893 MB / 405.3 MB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.197e-05/0.09439, allocations: 7.969 kB / 405.3 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001649/0.09604, allocations: 0.6476 MB / 405.9 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002649/0.0963, allocations: 63.64 kB / 406 MB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.446e-05/0.09637, allocations: 4 kB / 406 MB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.09658, allocations: 11.98 kB / 406 MB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.547e-05/0.09664, allocations: 23.91 kB / 406 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.712e-05/0.09667, allocations: 11.98 kB / 406.1 MB, free: 5.121 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004262/0.09709, allocations: 275.3 kB / 406.3 MB, free: 4.855 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.09709, allocations: 0 / 406.3 MB, free: 4.855 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001038/0.09813, allocations: 124 kB / 406.4 MB, free: 4.734 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.000207/0.09834, allocations: 99.19 kB / 406.5 MB, free: 4.625 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001818/0.1002, allocations: 0.6098 MB / 407.2 MB, free: 3.992 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1002, allocations: 0 / 407.2 MB, free: 3.992 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007789/0.1009, allocations: 291.2 kB / 407.4 MB, free: 3.695 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.102, allocations: 102.8 kB / 407.5 MB, free: 3.602 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002989/0.105, allocations: 1.07 MB / 408.6 MB, free: 2.484 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000616/0.1056, allocations: 315.9 kB / 408.9 MB, free: 2.148 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003416/0.106, allocations: 75.41 kB / 409 MB, free: 2.074 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.1061, allocations: 32.48 kB / 409 MB, free: 2.039 MB / 378.7 MB Notification: Performance of SimCode: time 1.212e-06/0.1061, allocations: 0 / 409 MB, free: 2.039 MB / 378.7 MB Notification: Performance of Templates: time 0.01751/0.1236, allocations: 5.225 MB / 414.3 MB, free: 12.92 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.814600839978084]