Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.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.001509/0.001509, allocations: 109.3 kB / 18.7 MB, free: 3.16 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.39/1.39, allocations: 225.6 MB / 247.4 MB, free: 3.371 MB / 190.1 MB " [Timeout remaining time 178] 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.001415/0.001415, allocations: 191 kB / 302.7 MB, free: 3.488 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3366/0.3366, allocations: 79.74 MB / 437.6 MB, free: 7.293 MB / 366.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom") translateModel(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002349/0.002349, allocations: 75.88 kB / 0.5832 GB, free: 8.109 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3734, allocations: 72.08 MB / 0.6536 GB, free: 18.61 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom): time 0.01162/0.3851, allocations: 13.8 MB / 0.6671 GB, free: 8.473 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008837/0.3939, allocations: 3.689 MB / 0.6707 GB, free: 5.777 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00377/0.3977, allocations: 24.72 kB / 0.6707 GB, free: 5.777 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00209/0.3998, allocations: 0.5241 MB / 0.6712 GB, free: 5.477 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation twoWindingTransformer.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation twoWindingTransformer1.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation twoWindingTransformer2.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.00587/0.4056, allocations: 1.614 MB / 0.6728 GB, free: 4.359 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation gen1.gen.xq <> gen1.gen.x1q, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation gen2.gen.xq <> gen2.gen.x1q, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation gen3.gen.xq <> gen3.gen.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.003383/0.409, allocations: 1.367 MB / 0.6741 GB, free: 3.375 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.006398/0.4154, allocations: 4.208 MB / 0.6783 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001206/0.4166, allocations: 0.6573 MB / 0.6789 GB, free: 252 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002999/0.4196, allocations: 1.643 MB / 0.6805 GB, free: 15.18 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00348/0.4231, allocations: 2.005 MB / 0.6825 GB, free: 13.73 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009303/0.424, allocations: 374.7 kB / 0.6828 GB, free: 13.73 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001452/0.4255, allocations: 0.5173 MB / 0.6833 GB, free: 13.67 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008205/0.4263, allocations: 0.8517 MB / 0.6841 GB, free: 12.93 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00217/0.4285, allocations: 1.767 MB / 0.6859 GB, free: 11.54 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005917/0.4344, allocations: 4.607 MB / 0.6904 GB, free: 7.973 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.4344, allocations: 1.406 kB / 0.6904 GB, free: 7.973 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4344, allocations: 0 / 0.6904 GB, free: 7.973 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001445/0.4345, allocations: 0 / 0.6904 GB, free: 7.973 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 476 * Number of variables: 476 Notification: Performance of Generate backend data structure: time 0.02052/0.4551, allocations: 6.978 MB / 0.6972 GB, free: 3.445 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.4551, allocations: 8.344 kB / 0.6972 GB, free: 3.445 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01103/0.4661, allocations: 1.65 MB / 0.6988 GB, free: 1.957 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004944/0.4711, allocations: 2.103 MB / 0.7009 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005566/0.4716, allocations: 498.4 kB / 0.7013 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004067/0.4721, allocations: 207.9 kB / 0.7015 GB, free: 15.03 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004874/0.4769, allocations: 2.468 MB / 0.7039 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.444e-05/0.477, allocations: 4 kB / 0.704 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002122/0.4772, allocations: 80 kB / 0.704 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-05/0.4772, allocations: 47.94 kB / 0.7041 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004563/0.4818, allocations: 2.275 MB / 0.7063 GB, free: 10.13 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01709/0.4989, allocations: 9.32 MB / 0.7154 GB, free: 484 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01044/0.5093, allocations: 4.42 MB / 0.7197 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003154/0.5125, allocations: 1.406 MB / 0.7211 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000171/0.5126, allocations: 41.97 kB / 0.7211 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003552/0.5162, allocations: 1.837 MB / 0.7229 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=245): time 4.588e-06/0.5162, allocations: 0 / 0.7229 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of matching and sorting (n=245): time 0.08356/0.5997, allocations: 19.01 MB / 0.7415 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001653/0.5999, allocations: 235.7 kB / 0.7417 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004801/0.6047, allocations: 2.645 MB / 0.7443 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006446/0.6054, allocations: 73.7 kB / 0.7444 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001099/0.6065, allocations: 1.21 MB / 0.7455 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.00117/0.6076, allocations: 0.9025 MB / 0.7464 GB, free: 180 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001089/0.6087, allocations: 0.5857 MB / 0.747 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.6089, allocations: 313.1 kB / 0.7473 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003428/0.6123, allocations: 1.619 MB / 0.7489 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003658/0.6159, allocations: 1.959 MB / 0.7508 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0454/0.6613, allocations: 11.13 MB / 0.7617 GB, free: 256 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.938e-06/0.6613, allocations: 0 / 0.7617 GB, free: 256 kB / 0.5294 GB Notification: Performance of matching and sorting (n=426) (initialization): time 0.02433/0.6857, allocations: 7.888 MB / 0.7694 GB, free: 8.285 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001629/0.6858, allocations: 168.4 kB / 0.7695 GB, free: 8.086 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.127e-05/0.6859, allocations: 11.98 kB / 0.7695 GB, free: 8.074 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0119/0.6978, allocations: 3.073 MB / 0.7725 GB, free: 4.988 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003361/0.7011, allocations: 0.6125 MB / 0.7731 GB, free: 4.375 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04306/0.7442, allocations: 19.46 MB / 0.7921 GB, free: 480 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004539/0.7487, allocations: 433.9 kB / 0.7925 GB, free: 44 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004033/0.7491, allocations: 116 kB / 0.7927 GB, free: 15.93 MB / 0.5762 GB Warning: Assuming fixed start value for the following 6 variables: gen3.gen.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real gen2.gen.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real gen1.gen.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real gen1.gen.e1q:VARIABLE(start = gen1.gen.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real gen1.gen.e1d:VARIABLE(start = gen1.gen.e1d0 unit = \"1\" fixed = true ) \"d-axis transient voltage\" type: Real gen1.AVR.firstOrder2.y:VARIABLE(flow=false start = gen1.AVR.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,$whenCondition6,$whenCondition5,$whenCondition8,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (340): * Single equations (assignments): 331 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(36,46), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.00142/0.7505, allocations: 0.6019 MB / 0.7932 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007848/0.7513, allocations: 337.8 kB / 0.7936 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0241/0.7754, allocations: 7.386 MB / 0.8008 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.887e-05/0.7755, allocations: 23.88 kB / 0.8008 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.7755, allocations: 0 / 0.8008 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001511/0.777, allocations: 478.3 kB / 0.8013 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000849/0.7779, allocations: 48 kB / 0.8013 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002596/0.7805, allocations: 231.7 kB / 0.8015 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002137/0.7826, allocations: 0.7625 MB / 0.8023 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0151/0.7977, allocations: 5.276 MB / 0.8074 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01001/0.8077, allocations: 5.112 MB / 0.8124 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002816/0.8105, allocations: 1.3 MB / 0.8137 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003341/0.8139, allocations: 1.771 MB / 0.8154 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of Backend: time 7.32e-07/0.8139, allocations: 0 / 0.8154 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01247/0.8263, allocations: 4.219 MB / 0.8195 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of SimCode: time 0.01067/0.837, allocations: 6.907 MB / 0.8263 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of Templates: time 0.3745/1.212, allocations: 56.52 MB / 0.8815 GB, free: 142.9 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.sim & ./OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.39269868703559] Failed to read output from testmodel.py, exit status != 0: 1.2199866219889373 1.227493637 0.790975188 Calling exit ...