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.001943/0.001943, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002044/0.002044, allocations: 169.3 kB / 24.28 MB, free: 152 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.58/1.58, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.3536/0.3536, allocations: 29.41 MB / 290.5 MB, free: 2.426 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 1.703e-06/1.703e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.922e-05/3.092e-05, allocations: 2.312 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.008247/0.008278, allocations: 5.324 MB / 374.2 MB, free: 5.949 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007563/0.01584, allocations: 3.809 MB / 378 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005512/0.01639, allocations: 19.81 kB / 378 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01234/0.02873, allocations: 5.438 MB / 383.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001051/0.02979, allocations: 334.1 kB / 383.8 MB, free: 12.33 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006198/0.03041, allocations: 227.5 kB / 384 MB, free: 12.11 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002789/0.0332, allocations: 1.668 MB / 385.7 MB, free: 10.44 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008657/0.03406, allocations: 0.5341 MB / 386.2 MB, free: 9.902 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008642/0.03492, allocations: 0.4987 MB / 386.7 MB, free: 9.402 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007431/0.03567, allocations: 410.8 kB / 387.1 MB, free: 9 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.03579, allocations: 56 kB / 387.2 MB, free: 8.945 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002064/0.036, allocations: 60 kB / 387.2 MB, free: 8.887 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003492/0.03635, allocations: 279.3 kB / 387.5 MB, free: 8.613 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003212/0.03667, allocations: 219.5 kB / 387.7 MB, free: 8.398 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.03781, allocations: 0.8295 MB / 388.6 MB, free: 7.566 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.03781, allocations: 4 kB / 388.6 MB, free: 7.562 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.03781, allocations: 0 / 388.6 MB, free: 7.562 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.367e-06/0.03782, allocations: 0 / 388.6 MB, free: 7.562 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.001734/0.03956, allocations: 0.9608 MB / 389.5 MB, free: 6.562 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.03959, allocations: 15.98 kB / 389.5 MB, free: 6.547 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003781/0.03997, allocations: 108.5 kB / 389.6 MB, free: 6.441 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.0411, allocations: 0.5097 MB / 390.1 MB, free: 5.906 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.337e-05/0.04115, allocations: 37.38 kB / 390.2 MB, free: 5.867 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-05/0.04124, allocations: 55.91 kB / 390.2 MB, free: 5.812 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.04232, allocations: 0.5245 MB / 390.8 MB, free: 5.238 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.943e-05/0.04235, allocations: 7.953 kB / 390.8 MB, free: 5.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.512e-05/0.04241, allocations: 23.98 kB / 390.8 MB, free: 5.207 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001346/0.04254, allocations: 44.97 kB / 390.8 MB, free: 5.164 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006211/0.04317, allocations: 271.7 kB / 391.1 MB, free: 4.898 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00388/0.04705, allocations: 2.757 MB / 393.9 MB, free: 2.012 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004426/0.04749, allocations: 206.2 kB / 394.1 MB, free: 1.785 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.04768, allocations: 87.41 kB / 394.1 MB, free: 1.691 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.283e-05/0.04771, allocations: 4 kB / 394.2 MB, free: 1.688 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/0.04775, allocations: 45.33 kB / 394.2 MB, free: 1.633 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 1.734e-06/0.04776, allocations: 4 kB / 394.2 MB, free: 1.629 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.002782/0.05054, allocations: 0.995 MB / 395.2 MB, free: 0.5859 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.011e-05/0.05061, allocations: 85.23 kB / 395.3 MB, free: 496 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006108/0.05122, allocations: 0.5026 MB / 395.8 MB, free: 15.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.664e-05/0.05125, allocations: 33.7 kB / 395.8 MB, free: 15.92 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003374/0.05159, allocations: 378.8 kB / 396.2 MB, free: 15.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.05173, allocations: 127 kB / 396.3 MB, free: 15.42 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/0.0519, allocations: 103.8 kB / 396.4 MB, free: 15.31 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003422/0.05224, allocations: 0.5587 MB / 397 MB, free: 14.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.05241, allocations: 72.95 kB / 397 MB, free: 14.67 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003926/0.0528, allocations: 298.3 kB / 397.3 MB, free: 14.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007171/0.05352, allocations: 401.1 kB / 397.7 MB, free: 13.81 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.05353, allocations: 7.75 kB / 397.7 MB, free: 13.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001028/0.05455, allocations: 496.2 kB / 398.2 MB, free: 13.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.05457, allocations: 8.562 kB / 398.2 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.05458, allocations: 4 kB / 398.2 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005072/0.05509, allocations: 135.2 kB / 398.4 MB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003065/0.0554, allocations: 67.91 kB / 398.4 MB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00404/0.05944, allocations: 3.895 MB / 402.3 MB, free: 8.941 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000282/0.05972, allocations: 16 kB / 402.3 MB, free: 8.926 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.066e-05/0.05976, allocations: 16 kB / 402.4 MB, free: 8.91 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.0003178/0.06008, allocations: 224.4 kB / 402.6 MB, free: 8.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.06019, allocations: 51.72 kB / 402.6 MB, free: 8.629 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009703/0.06116, allocations: 377.3 kB / 403 MB, free: 8.246 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.06117, allocations: 7.938 kB / 403 MB, free: 8.238 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0007198/0.06189, allocations: 313.5 kB / 403.3 MB, free: 7.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.0619, allocations: 3.984 kB / 403.3 MB, free: 7.906 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001765/0.06366, allocations: 0.9218 MB / 404.2 MB, free: 6.922 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.06366, allocations: 0 / 404.2 MB, free: 6.922 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/0.06388, allocations: 35.98 kB / 404.3 MB, free: 6.887 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003235/0.0642, allocations: 75.94 kB / 404.3 MB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/0.06422, allocations: 8 kB / 404.3 MB, free: 6.801 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00243/0.06665, allocations: 2.068 MB / 406.4 MB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.06666, allocations: 3.984 kB / 406.4 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.0677, allocations: 0.548 MB / 407 MB, free: 4.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001675/0.06787, allocations: 55.7 kB / 407 MB, free: 3.965 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.134e-05/0.06792, allocations: 11.98 kB / 407 MB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.06811, allocations: 11.94 kB / 407 MB, free: 3.941 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.778e-05/0.06818, allocations: 27.89 kB / 407.1 MB, free: 3.914 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.0682, allocations: 12.06 kB / 407.1 MB, free: 3.902 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000406/0.06861, allocations: 319.1 kB / 407.4 MB, free: 3.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06861, allocations: 0 / 407.4 MB, free: 3.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005878/0.06919, allocations: 120 kB / 407.5 MB, free: 3.473 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.0001673/0.06936, allocations: 99.19 kB / 407.6 MB, free: 3.363 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001185/0.07055, allocations: 0.6521 MB / 408.3 MB, free: 2.676 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.07055, allocations: 0 / 408.3 MB, free: 2.676 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005344/0.07108, allocations: 338 kB / 408.6 MB, free: 2.324 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000653/0.07174, allocations: 96.75 kB / 408.7 MB, free: 2.234 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002001/0.07374, allocations: 1.008 MB / 409.7 MB, free: 1.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/0.07413, allocations: 311.9 kB / 410 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002229/0.07436, allocations: 67.41 kB / 410.1 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.198e-05/0.07445, allocations: 32.5 kB / 410.1 MB, free: 0.75 MB / 378.7 MB Notification: Performance of SimCode: time 1.002e-06/0.07445, allocations: 0 / 410.1 MB, free: 0.75 MB / 378.7 MB Notification: Performance of Templates: time 0.01376/0.08821, allocations: 5.25 MB / 415.3 MB, free: 11.62 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: 5.033262093085796]