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.001435/0.001435, allocations: 88.33 kB / 20.95 MB, free: 3.453 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.001576/0.001576, allocations: 157.7 kB / 24.26 MB, free: 148 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.1 MB / 204.6 MB, free: 5.617 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.3068/0.3068, allocations: 29.41 MB / 290.5 MB, free: 2.422 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.038e-05/1.038e-05, allocations: 7.984 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/3.56e-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.007912/0.007948, allocations: 5.071 MB / 373.9 MB, free: 6.207 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007007/0.01495, allocations: 3.631 MB / 377.6 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004703/0.01543, allocations: 19.81 kB / 377.6 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01208/0.02751, allocations: 5.434 MB / 383 MB, free: 13.1 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001062/0.02857, allocations: 338 kB / 383.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006273/0.0292, allocations: 227.5 kB / 383.6 MB, free: 12.54 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00276/0.03196, allocations: 1.672 MB / 385.3 MB, free: 10.87 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008965/0.03285, allocations: 0.5341 MB / 385.8 MB, free: 10.33 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008012/0.03365, allocations: 0.4987 MB / 386.3 MB, free: 9.832 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007108/0.03436, allocations: 390.9 kB / 386.7 MB, free: 9.449 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.03447, allocations: 56 kB / 386.7 MB, free: 9.395 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001948/0.03467, allocations: 64 kB / 386.8 MB, free: 9.332 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003234/0.03499, allocations: 271.3 kB / 387.1 MB, free: 9.066 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003013/0.03529, allocations: 219.5 kB / 387.3 MB, free: 8.852 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001116/0.03641, allocations: 0.8256 MB / 388.1 MB, free: 8.023 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.03641, allocations: 0 / 388.1 MB, free: 8.023 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.03641, allocations: 0 / 388.1 MB, free: 8.023 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.03642, allocations: 0 / 388.1 MB, free: 8.023 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.001806/0.03823, allocations: 0.7988 MB / 388.9 MB, free: 7.191 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.03827, allocations: 15.98 kB / 388.9 MB, free: 7.176 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003844/0.03865, allocations: 116.5 kB / 389 MB, free: 7.062 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.03982, allocations: 0.5147 MB / 389.5 MB, free: 6.523 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.831e-05/0.03985, allocations: 29.38 kB / 389.6 MB, free: 6.492 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.03996, allocations: 55.94 kB / 389.6 MB, free: 6.438 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.04129, allocations: 0.6258 MB / 390.2 MB, free: 5.773 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.412e-05/0.04132, allocations: 15.88 kB / 390.3 MB, free: 5.758 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.098e-05/0.04137, allocations: 16 kB / 390.3 MB, free: 5.742 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001439/0.04151, allocations: 48.97 kB / 390.3 MB, free: 5.695 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000863/0.04238, allocations: 463.6 kB / 390.8 MB, free: 5.242 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003503/0.04588, allocations: 2.245 MB / 393 MB, free: 2.879 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005098/0.04639, allocations: 265 kB / 393.3 MB, free: 2.605 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002519/0.04664, allocations: 125.7 kB / 393.4 MB, free: 2.477 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.555e-05/0.04668, allocations: 4 kB / 393.4 MB, free: 2.473 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/0.04672, allocations: 46.5 kB / 393.5 MB, free: 2.418 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 1.683e-06/0.04672, allocations: 0 / 393.5 MB, free: 2.418 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.00316/0.04988, allocations: 1.247 MB / 394.7 MB, free: 1.129 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.189e-05/0.04995, allocations: 89.14 kB / 394.8 MB, free: 1.023 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004881/0.05044, allocations: 381.5 kB / 395.2 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.739e-05/0.05048, allocations: 29.7 kB / 395.2 MB, free: 0.6094 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002781/0.05075, allocations: 312 kB / 395.5 MB, free: 308 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.05088, allocations: 119 kB / 395.6 MB, free: 188 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.05102, allocations: 78.14 kB / 395.7 MB, free: 104 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002264/0.05124, allocations: 354.8 kB / 396 MB, free: 15.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002537/0.0515, allocations: 132.9 kB / 396.2 MB, free: 15.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004055/0.0519, allocations: 282.9 kB / 396.4 MB, free: 15.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008746/0.05278, allocations: 449.9 kB / 396.9 MB, free: 14.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.05279, allocations: 7.938 kB / 396.9 MB, free: 14.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001246/0.05403, allocations: 0.6114 MB / 397.5 MB, free: 14.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.05406, allocations: 8 kB / 397.5 MB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.05407, allocations: 8.031 kB / 397.5 MB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005727/0.05464, allocations: 161.6 kB / 397.7 MB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003336/0.05497, allocations: 87.83 kB / 397.8 MB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004233/0.05921, allocations: 3.408 MB / 401.2 MB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003276/0.05953, allocations: 15.98 kB / 401.2 MB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.092e-05/0.05957, allocations: 16 kB / 401.2 MB, free: 10.23 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.0003528/0.05993, allocations: 245.5 kB / 401.4 MB, free: 9.977 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.06003, allocations: 55.66 kB / 401.5 MB, free: 9.922 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001097/0.06113, allocations: 0.4959 MB / 402 MB, free: 9.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.06113, allocations: 7.984 kB / 402 MB, free: 9.402 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0008399/0.06197, allocations: 410 kB / 402.4 MB, free: 8.984 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.06198, allocations: 0 / 402.4 MB, free: 8.984 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001998/0.06398, allocations: 0.8568 MB / 403.3 MB, free: 8.078 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.06398, allocations: 0 / 403.3 MB, free: 8.078 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002753/0.06426, allocations: 39.92 kB / 403.3 MB, free: 8.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004475/0.06471, allocations: 105.1 kB / 403.4 MB, free: 7.934 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.35e-05/0.06474, allocations: 8 kB / 403.4 MB, free: 7.926 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00288/0.06762, allocations: 1.886 MB / 405.3 MB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.06763, allocations: 7.969 kB / 405.3 MB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.06883, allocations: 0.6398 MB / 405.9 MB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001944/0.06903, allocations: 67.66 kB / 406 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.187e-05/0.06908, allocations: 8 kB / 406 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.06928, allocations: 8 kB / 406 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.256e-05/0.06937, allocations: 31.83 kB / 406 MB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.871e-05/0.0694, allocations: 8.125 kB / 406.1 MB, free: 5.145 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004332/0.06983, allocations: 279.1 kB / 406.3 MB, free: 4.875 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.06983, allocations: 0 / 406.3 MB, free: 4.875 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006415/0.07048, allocations: 120 kB / 406.4 MB, free: 4.758 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.0001515/0.07063, allocations: 95.25 kB / 406.5 MB, free: 4.652 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001193/0.07182, allocations: 0.6177 MB / 407.2 MB, free: 4.012 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.07182, allocations: 0 / 407.2 MB, free: 4.012 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005147/0.07234, allocations: 287.2 kB / 407.4 MB, free: 3.719 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006384/0.07298, allocations: 92.75 kB / 407.5 MB, free: 3.629 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002174/0.07515, allocations: 1.074 MB / 408.6 MB, free: 2.512 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004226/0.07557, allocations: 319.9 kB / 408.9 MB, free: 2.172 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002386/0.07581, allocations: 71.41 kB / 409 MB, free: 2.102 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.474e-05/0.0759, allocations: 32.5 kB / 409 MB, free: 2.066 MB / 378.7 MB Notification: Performance of SimCode: time 8.02e-07/0.0759, allocations: 0 / 409 MB, free: 2.066 MB / 378.7 MB Notification: Performance of Templates: time 0.01256/0.08846, allocations: 5.227 MB / 414.2 MB, free: 12.95 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.729310792987235]