Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001879/0.001879, allocations: 112 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002982/0.002982, allocations: 187.8 kB / 23.72 MB, free: 4.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 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.1914/0.1914, allocations: 38.53 MB / 346.3 MB, free: 2.086 MB / 270.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.LocalGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration") translateModel(PowerSystems.Examples.AC3ph.Generation.LocalGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 67.89 kB / 484.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.364, allocations: 61.29 MB / 0.533 GB, free: 5.566 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.LocalGeneration): time 0.01038/0.3744, allocations: 9.487 MB / 0.5423 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00731/0.3817, allocations: 3.288 MB / 0.5455 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/0.3828, allocations: 50.94 kB / 0.5456 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001565/0.3844, allocations: 414.5 kB / 0.546 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002514/0.3869, allocations: 0.8176 MB / 0.5468 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.3882, allocations: 489.9 kB / 0.5472 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002725/0.3909, allocations: 1.868 MB / 0.549 GB, free: 9.316 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001487/0.3924, allocations: 0.8353 MB / 0.5499 GB, free: 8.727 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001607/0.394, allocations: 0.7844 MB / 0.5506 GB, free: 8.254 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001438/0.3955, allocations: 0.8508 MB / 0.5515 GB, free: 7.707 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002488/0.3957, allocations: 144 kB / 0.5516 GB, free: 7.703 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001005/0.3967, allocations: 422.8 kB / 0.552 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005494/0.3973, allocations: 0.4989 MB / 0.5525 GB, free: 7.188 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008905/0.3982, allocations: 0.7073 MB / 0.5532 GB, free: 6.684 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002946/0.4011, allocations: 1.99 MB / 0.5551 GB, free: 5.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4011, allocations: 0 / 0.5551 GB, free: 5.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.4011, allocations: 1.25 kB / 0.5551 GB, free: 5.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.063e-05/0.4011, allocations: 0 / 0.5551 GB, free: 5.27 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.004032/0.4052, allocations: 1.607 MB / 0.5567 GB, free: 3.805 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.4052, allocations: 8.031 kB / 0.5567 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008496/0.4061, allocations: 199.9 kB / 0.5569 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002084/0.4082, allocations: 0.8862 MB / 0.5578 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.95e-05/0.4082, allocations: 78.06 kB / 0.5578 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003393/0.4086, allocations: 119.9 kB / 0.5579 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002522/0.4111, allocations: 1.35 MB / 0.5593 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.398e-05/0.4111, allocations: 4 kB / 0.5593 GB, free: 1.062 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/0.4112, allocations: 40 kB / 0.5593 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001219/0.4114, allocations: 65.97 kB / 0.5594 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002002/0.4134, allocations: 1.077 MB / 0.5604 GB, free: 15.88 MB / 414.1 MB Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: 8.318498358936397e-4 * der(PMgen.generator.i_s[3]) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008297/0.4217, allocations: 4.989 MB / 0.5653 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/0.4229, allocations: 0.6553 MB / 0.5659 GB, free: 9.973 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005693/0.4235, allocations: 320 kB / 0.5662 GB, free: 9.652 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.581e-05/0.4235, allocations: 12.48 kB / 0.5662 GB, free: 9.641 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.7e-05/0.4236, allocations: 47 kB / 0.5663 GB, free: 9.586 MB / 414.1 MB Notification: Performance of pre-optimization done (n=64): time 4.939e-06/0.4236, allocations: 3.984 kB / 0.5663 GB, free: 9.582 MB / 414.1 MB Notification: Performance of matching and sorting (n=71): time 0.006518/0.4301, allocations: 2.48 MB / 0.5687 GB, free: 7.066 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001608/0.4303, allocations: 141.2 kB / 0.5688 GB, free: 6.898 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/0.4314, allocations: 0.7549 MB / 0.5696 GB, free: 6.137 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.975e-05/0.4315, allocations: 37.7 kB / 0.5696 GB, free: 6.094 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005292/0.432, allocations: 0.5781 MB / 0.5702 GB, free: 5.508 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003059/0.4324, allocations: 265.8 kB / 0.5704 GB, free: 5.246 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002774/0.4326, allocations: 166.6 kB / 0.5706 GB, free: 5.078 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.4328, allocations: 341.9 kB / 0.5709 GB, free: 4.738 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000533/0.4333, allocations: 296.7 kB / 0.5712 GB, free: 4.445 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007379/0.4341, allocations: 0.549 MB / 0.5717 GB, free: 3.785 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001331/0.4354, allocations: 0.8939 MB / 0.5726 GB, free: 2.777 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.4354, allocations: 11.94 kB / 0.5726 GB, free: 2.766 MB / 414.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.003006/0.4384, allocations: 1.325 MB / 0.5739 GB, free: 1.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.4384, allocations: 8.312 kB / 0.5739 GB, free: 1.422 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.4385, allocations: 12 kB / 0.5739 GB, free: 1.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001505/0.44, allocations: 416.5 kB / 0.5743 GB, free: 1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006861/0.4406, allocations: 171.7 kB / 0.5745 GB, free: 0.832 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009438/0.4501, allocations: 5.18 MB / 0.5796 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008116/0.4509, allocations: 39.98 kB / 0.5796 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.362e-05/0.451, allocations: 43.97 kB / 0.5796 GB, free: 11.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001305/0.4523, allocations: 0.5565 MB / 0.5802 GB, free: 10.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001008/0.4533, allocations: 0.5336 MB / 0.5807 GB, free: 10.25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001382/0.4547, allocations: 0.8783 MB / 0.5816 GB, free: 9.258 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.576e-06/0.4547, allocations: 7.984 kB / 0.5816 GB, free: 9.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=112) (initialization_lambda0): time 0.002993/0.4577, allocations: 1.251 MB / 0.5828 GB, free: 7.988 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.4577, allocations: 8.312 kB / 0.5828 GB, free: 7.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.4577, allocations: 12 kB / 0.5828 GB, free: 7.969 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001415/0.4591, allocations: 400.5 kB / 0.5832 GB, free: 7.574 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006367/0.4598, allocations: 171.7 kB / 0.5834 GB, free: 7.406 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00872/0.4685, allocations: 4.961 MB / 0.5882 GB, free: 2.336 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008916/0.4694, allocations: 35.98 kB / 0.5882 GB, free: 2.301 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.716e-05/0.4694, allocations: 36 kB / 0.5883 GB, free: 2.266 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,PI_vDC.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0003232/0.4698, allocations: 232 kB / 0.5885 GB, free: 2.031 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/0.4699, allocations: 107.3 kB / 0.5886 GB, free: 1.926 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001725/0.4717, allocations: 0.7921 MB / 0.5894 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.4717, allocations: 8 kB / 0.5894 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.4717, allocations: 3.938 kB / 0.5894 GB, free: 1.109 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.4717, allocations: 7.984 kB / 0.5894 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003407/0.4751, allocations: 1.828 MB / 0.5912 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/0.4751, allocations: 7.938 kB / 0.5912 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008944/0.476, allocations: 163.8 kB / 0.5913 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.087e-05/0.476, allocations: 7.984 kB / 0.5913 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.277e-05/0.4761, allocations: 19.97 kB / 0.5914 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/0.4761, allocations: 4 kB / 0.5914 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4761, allocations: 0 / 0.5914 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002038/0.4781, allocations: 1.28 MB / 0.5926 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003849/0.4785, allocations: 155.3 kB / 0.5928 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.4786, allocations: 19.94 kB / 0.5928 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004854/0.4791, allocations: 27.97 kB / 0.5928 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.377e-05/0.4792, allocations: 40.58 kB / 0.5928 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-05/0.4793, allocations: 23.98 kB / 0.5929 GB, free: 13.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007938/0.4801, allocations: 0.5107 MB / 0.5934 GB, free: 12.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4801, allocations: 0 / 0.5934 GB, free: 12.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001853/0.4819, allocations: 459.9 kB / 0.5938 GB, free: 12.5 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (PMgen.rotor.phi,PMgen.rotor.w,PMgen.generator.i_s[1],PMgen.generator.i_s[2],capSym.capSym.cap1.v,capSym.capSym.cap2.v,zLoadDC.i,PI_vDC.I.y) * 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 (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004058/0.4823, allocations: 147 kB / 0.594 GB, free: 12.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00406/0.4864, allocations: 1.833 MB / 0.5957 GB, free: 10.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.4864, allocations: 0 / 0.5957 GB, free: 10.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006367/0.487, allocations: 337.1 kB / 0.5961 GB, free: 10.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001381/0.4884, allocations: 261 kB / 0.5963 GB, free: 9.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005058/0.4935, allocations: 2.517 MB / 0.5988 GB, free: 7.355 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001121/0.4946, allocations: 1.201 MB / 0.5999 GB, free: 6.125 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008828/0.4955, allocations: 239.4 kB / 0.6002 GB, free: 5.887 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002471/0.4957, allocations: 75.42 kB / 0.6002 GB, free: 5.812 MB / 446.1 MB Notification: Performance of SimCode: time 1.212e-06/0.4957, allocations: 0 / 0.6002 GB, free: 5.812 MB / 446.1 MB Notification: Performance of Templates: time 0.03595/0.5317, allocations: 19.13 MB / 0.6189 GB, free: 2.812 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.752788946963847] Failed to read output from testmodel.py, exit status != 0: 0.5418212749063969 0.5557065130000001 0.151435699 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f5b678017b0>