Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom") translateModel(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08305/0.08305, allocations: 12.6 MB / 28.91 MB, free: 0.6172 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 111.5 kB / 32.51 MB, free: 3.555 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.378/1.378, allocations: 205.1 MB / 241.1 MB, free: 12.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001405, allocations: 199.8 kB / 291.4 MB, free: 10.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4675/0.4675, allocations: 78.51 MB / 420 MB, free: 10.75 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002664/0.002664, allocations: 143.3 kB / 0.5565 GB, free: 17.29 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1407, allocations: 68.12 MB / 0.623 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom): time 0.01473/0.1555, allocations: 13.76 MB / 0.6365 GB, free: 15.32 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008644/0.1642, allocations: 3.639 MB / 0.64 GB, free: 11.68 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002872/0.1672, allocations: 28 kB / 0.6401 GB, free: 11.65 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002066/0.1693, allocations: 0.5302 MB / 0.6406 GB, free: 11.11 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 2.0.0/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 2.0.0/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.00575/0.1751, allocations: 1.608 MB / 0.6421 GB, free: 9.508 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 2.0.0/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 2.0.0/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.003551/0.1786, allocations: 1.363 MB / 0.6435 GB, free: 8.152 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.006906/0.1856, allocations: 4.221 MB / 0.6476 GB, free: 3.914 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001932/0.1875, allocations: 0.9613 MB / 0.6485 GB, free: 2.895 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002851/0.1904, allocations: 1.646 MB / 0.6501 GB, free: 1.242 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002969/0.1934, allocations: 1.979 MB / 0.6521 GB, free: 15.25 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001322/0.1947, allocations: 376 kB / 0.6524 GB, free: 14.89 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001872/0.1966, allocations: 0.5155 MB / 0.6529 GB, free: 14.37 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001272/0.1979, allocations: 0.8444 MB / 0.6538 GB, free: 13.52 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002739/0.2006, allocations: 1.764 MB / 0.6555 GB, free: 11.75 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005708/0.2064, allocations: 4.594 MB / 0.66 GB, free: 7.141 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2064, allocations: 0 / 0.66 GB, free: 7.141 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.2064, allocations: 4 kB / 0.66 GB, free: 7.137 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000166/0.2066, allocations: 0 / 0.66 GB, free: 7.137 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.01812/0.2247, allocations: 5.512 MB / 0.6654 GB, free: 1.516 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.2248, allocations: 11.98 kB / 0.6654 GB, free: 1.504 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01089/0.2357, allocations: 1.635 MB / 0.667 GB, free: 15.86 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004323/0.24, allocations: 2.08 MB / 0.669 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004671/0.2405, allocations: 498.4 kB / 0.6695 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003628/0.2409, allocations: 207.9 kB / 0.6697 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004789/0.2457, allocations: 2.476 MB / 0.6721 GB, free: 10.46 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.413e-05/0.2457, allocations: 0 / 0.6721 GB, free: 10.46 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002108/0.2459, allocations: 76 kB / 0.6722 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.348e-05/0.246, allocations: 44 kB / 0.6722 GB, free: 10.34 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005583/0.2516, allocations: 2.279 MB / 0.6744 GB, free: 8.059 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.301/0.5526, allocations: 9.297 MB / 0.6835 GB, free: 49.15 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01182/0.5645, allocations: 4.593 MB / 0.688 GB, free: 47.71 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003903/0.5684, allocations: 1.572 MB / 0.6895 GB, free: 47.29 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002097/0.5686, allocations: 44.97 kB / 0.6896 GB, free: 47.29 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004263/0.5729, allocations: 1.838 MB / 0.6914 GB, free: 46.61 MB / 494.1 MB Notification: Performance of pre-optimization done (n=245): time 6.282e-06/0.5729, allocations: 0 / 0.6914 GB, free: 46.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=245): time 0.08473/0.6577, allocations: 19.06 MB / 0.71 GB, free: 39.47 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.6578, allocations: 235.2 kB / 0.7102 GB, free: 39.21 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004003/0.6618, allocations: 2.652 MB / 0.7128 GB, free: 37.84 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005666/0.6624, allocations: 77.22 kB / 0.7129 GB, free: 37.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006747/0.663, allocations: 1.189 MB / 0.714 GB, free: 36.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007449/0.6638, allocations: 0.865 MB / 0.7149 GB, free: 36.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008827/0.6647, allocations: 0.5806 MB / 0.7154 GB, free: 35.85 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.693e-05/0.6647, allocations: 305.1 kB / 0.7157 GB, free: 35.55 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002968/0.6677, allocations: 1.62 MB / 0.7173 GB, free: 34.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003141/0.6709, allocations: 1.962 MB / 0.7192 GB, free: 33.57 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04165/0.7125, allocations: 11.15 MB / 0.7301 GB, free: 22.71 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/0.7126, allocations: 0 / 0.7301 GB, free: 22.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=426) (initialization): time 0.02114/0.7337, allocations: 7.925 MB / 0.7379 GB, free: 14.72 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.99e-05/0.7338, allocations: 178.1 kB / 0.738 GB, free: 14.51 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/0.7339, allocations: 5.969 kB / 0.738 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01047/0.7443, allocations: 3.068 MB / 0.741 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003079/0.7474, allocations: 0.6086 MB / 0.7416 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03932/0.7868, allocations: 19.44 MB / 0.7606 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004445/0.7912, allocations: 417.2 kB / 0.761 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003139/0.7916, allocations: 120 kB / 0.7611 GB, free: 6.457 MB / 0.4981 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.001395/0.793, allocations: 0.6132 MB / 0.7617 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005807/0.7936, allocations: 320 kB / 0.762 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02371/0.8173, allocations: 7.464 MB / 0.7693 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.998e-05/0.8174, allocations: 15.95 kB / 0.7693 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.952e-06/0.8174, allocations: 0 / 0.7693 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00122/0.8186, allocations: 464.4 kB / 0.7698 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006114/0.8192, allocations: 48 kB / 0.7698 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002483/0.8217, allocations: 231.7 kB / 0.77 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002163/0.8239, allocations: 0.7625 MB / 0.7708 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01427/0.8382, allocations: 5.262 MB / 0.7759 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0095/0.8477, allocations: 5.09 MB / 0.7809 GB, free: 2.051 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002734/0.8505, allocations: 1.347 MB / 0.7822 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00325/0.8537, allocations: 1.771 MB / 0.7839 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of Backend: time 6.11e-07/0.8537, allocations: 0 / 0.7839 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01145/0.8652, allocations: 4.5 MB / 0.7883 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of SimCode: time 0.008058/0.8733, allocations: 6.778 MB / 0.7949 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of Templates: time 0.09135/0.9646, allocations: 54.27 MB / 0.8479 GB, free: 13.25 MB / 0.5919 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe 2>&1)