Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.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.001949/0.001949, allocations: 84.34 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.002406/0.002406, allocations: 169.3 kB / 24.27 MB, free: 144 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.496/1.496, allocations: 177.1 MB / 204.6 MB, free: 5.609 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.2926/0.2926, allocations: 29.4 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.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines") translateModel(PowerSystems.Examples.AC3ph.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.587e-05/2.73e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.007728/0.007755, allocations: 5.204 MB / 374.1 MB, free: 6.066 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007272/0.01503, allocations: 3.813 MB / 377.9 MB, free: 2.242 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004083/0.01544, allocations: 27.75 kB / 377.9 MB, free: 2.215 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01159/0.02702, allocations: 5.473 MB / 383.4 MB, free: 12.73 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00102/0.02804, allocations: 357.8 kB / 383.8 MB, free: 12.38 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009434/0.02899, allocations: 259.4 kB / 384 MB, free: 12.12 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003074/0.03206, allocations: 1.684 MB / 385.7 MB, free: 10.44 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006083/0.03267, allocations: 324.4 kB / 386 MB, free: 10.12 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007237/0.03339, allocations: 0.4908 MB / 386.5 MB, free: 9.629 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007123/0.03411, allocations: 430.7 kB / 386.9 MB, free: 9.207 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.572e-05/0.03419, allocations: 48 kB / 387 MB, free: 9.16 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003056/0.0345, allocations: 119.8 kB / 387.1 MB, free: 9.043 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003465/0.03484, allocations: 299.1 kB / 387.4 MB, free: 8.75 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003075/0.03515, allocations: 215.5 kB / 387.6 MB, free: 8.539 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.03621, allocations: 0.7516 MB / 388.3 MB, free: 7.785 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.03621, allocations: 0 / 388.3 MB, free: 7.785 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.03621, allocations: 0 / 388.3 MB, free: 7.785 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.03622, allocations: 0 / 388.3 MB, free: 7.785 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.002042/0.03827, allocations: 0.8491 MB / 389.2 MB, free: 6.898 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.03832, allocations: 11.98 kB / 389.2 MB, free: 6.887 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005721/0.03889, allocations: 140.4 kB / 389.3 MB, free: 6.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.04012, allocations: 0.5158 MB / 389.9 MB, free: 6.211 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.163e-05/0.04016, allocations: 33.36 kB / 389.9 MB, free: 6.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.04027, allocations: 55.89 kB / 389.9 MB, free: 6.125 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.04154, allocations: 0.6491 MB / 390.6 MB, free: 5.438 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.978e-05/0.04157, allocations: 7.984 kB / 390.6 MB, free: 5.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.679e-05/0.04163, allocations: 16 kB / 390.6 MB, free: 5.414 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000147/0.04178, allocations: 44.97 kB / 390.7 MB, free: 5.371 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008699/0.04265, allocations: 491.6 kB / 391.1 MB, free: 4.891 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003786/0.04643, allocations: 2.27 MB / 393.4 MB, free: 2.508 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005993/0.04703, allocations: 299.5 kB / 393.7 MB, free: 2.188 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003155/0.04735, allocations: 174.5 kB / 393.9 MB, free: 2.008 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.172e-05/0.04739, allocations: 4 kB / 393.9 MB, free: 2.004 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.558e-05/0.04743, allocations: 34.56 kB / 393.9 MB, free: 1.961 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 1.783e-06/0.04744, allocations: 0 / 393.9 MB, free: 1.961 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.002799/0.05023, allocations: 1.297 MB / 395.2 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.685e-05/0.05032, allocations: 106.8 kB / 395.3 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004931/0.05081, allocations: 401.8 kB / 395.7 MB, free: 96 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.132e-05/0.05086, allocations: 29.7 kB / 395.7 MB, free: 60 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003005/0.05116, allocations: 320.1 kB / 396 MB, free: 15.74 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.05128, allocations: 127.1 kB / 396.2 MB, free: 15.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.05144, allocations: 90.12 kB / 396.3 MB, free: 15.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002175/0.05166, allocations: 354.8 kB / 396.6 MB, free: 15.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002968/0.05196, allocations: 164.9 kB / 396.8 MB, free: 15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004242/0.05238, allocations: 305.1 kB / 397.1 MB, free: 14.65 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000916/0.0533, allocations: 499.4 kB / 397.5 MB, free: 14.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.0533, allocations: 0 / 397.5 MB, free: 14.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001485/0.05478, allocations: 0.7364 MB / 398.3 MB, free: 13.35 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.0548, allocations: 8 kB / 398.3 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.05481, allocations: 4 kB / 398.3 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008214/0.05564, allocations: 237.7 kB / 398.5 MB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003598/0.056, allocations: 71.89 kB / 398.6 MB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0054/0.0614, allocations: 3.966 MB / 402.6 MB, free: 8.867 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000328/0.06172, allocations: 16 kB / 402.6 MB, free: 8.852 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.565e-05/0.06177, allocations: 23.98 kB / 402.6 MB, free: 8.828 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (40): * Single equations (assignments): 38 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0004319/0.0622, allocations: 229.7 kB / 402.8 MB, free: 8.594 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.06234, allocations: 59.66 kB / 402.9 MB, free: 8.535 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001016/0.06336, allocations: 495 kB / 403.4 MB, free: 8.039 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.06336, allocations: 4 kB / 403.4 MB, free: 8.035 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.06337, allocations: 8.031 kB / 403.4 MB, free: 8.027 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.06338, allocations: 8.078 kB / 403.4 MB, free: 8.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001708/0.06508, allocations: 0.9033 MB / 404.3 MB, free: 7.066 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.06509, allocations: 3.938 kB / 404.3 MB, free: 7.062 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006536/0.06574, allocations: 83.94 kB / 404.4 MB, free: 6.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000179/0.06592, allocations: 45.69 kB / 404.4 MB, free: 6.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.662e-05/0.06596, allocations: 15.98 kB / 404.4 MB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002407/0.06837, allocations: 2.579 MB / 407 MB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.06837, allocations: 0 / 407 MB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.06964, allocations: 0.8229 MB / 407.8 MB, free: 3.277 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/0.0698, allocations: 67.69 kB / 407.9 MB, free: 3.211 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.477e-05/0.06985, allocations: 8 kB / 407.9 MB, free: 3.203 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002584/0.07011, allocations: 15.98 kB / 407.9 MB, free: 3.188 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.015e-05/0.07018, allocations: 27.95 kB / 408 MB, free: 3.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.07021, allocations: 11.98 kB / 408 MB, free: 3.148 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003663/0.07058, allocations: 283 kB / 408.2 MB, free: 2.871 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.07058, allocations: 3.938 kB / 408.3 MB, free: 2.867 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006246/0.0712, allocations: 128 kB / 408.4 MB, free: 2.742 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (asynchron.i[3],asynchron.phi_el,asynchron.psi_s[1],asynchron.psi_s[2],asynchron.psi_rd[1],asynchron.psi_rq[1],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 (35): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(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.0001791/0.07138, allocations: 119.2 kB / 408.5 MB, free: 2.613 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001429/0.07281, allocations: 0.7077 MB / 409.2 MB, free: 1.879 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.07281, allocations: 0 / 409.2 MB, free: 1.879 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006145/0.07343, allocations: 413 kB / 409.6 MB, free: 1.449 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007271/0.07416, allocations: 101.4 kB / 409.7 MB, free: 1.355 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002418/0.07657, allocations: 1.334 MB / 411 MB, free: 15.98 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004508/0.07702, allocations: 348.9 kB / 411.4 MB, free: 15.61 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004275/0.07745, allocations: 96.3 kB / 411.5 MB, free: 15.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.07759, allocations: 44.5 kB / 411.5 MB, free: 15.47 MB / 394.7 MB Notification: Performance of SimCode: time 6.01e-07/0.07759, allocations: 0 / 411.5 MB, free: 15.47 MB / 394.7 MB Notification: Performance of Templates: time 0.01397/0.09156, allocations: 6.298 MB / 417.8 MB, free: 9.285 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.89509933500085]