Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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=40000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 108.3 kB / 15.99 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.261/1.261, allocations: 222.9 MB / 239.6 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 196.4 kB / 289.9 MB, free: 2.363 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4898/0.4898, allocations: 91.89 MB / 432 MB, free: 9.383 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 75.88 kB / 0.502 GB, free: 8.051 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3217, allocations: 71.26 MB / 0.5716 GB, free: 36.46 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom): time 0.009422/0.3312, allocations: 14.41 MB / 0.5857 GB, free: 26.98 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005935/0.3371, allocations: 3.789 MB / 0.5894 GB, free: 24.24 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001027/0.3382, allocations: 27.84 kB / 0.5894 GB, free: 24.24 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009391/0.3392, allocations: 403.6 kB / 0.5898 GB, free: 24.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00248/0.3416, allocations: 1.283 MB / 0.5911 GB, free: 23.21 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001931/0.3436, allocations: 1.251 MB / 0.5923 GB, free: 22.47 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003222/0.3468, allocations: 4.215 MB / 0.5964 GB, free: 20.28 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001105/0.3479, allocations: 0.9702 MB / 0.5973 GB, free: 19.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001979/0.3499, allocations: 1.65 MB / 0.599 GB, free: 18.89 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001622/0.3516, allocations: 1.991 MB / 0.6009 GB, free: 17.87 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005017/0.3521, allocations: 373.2 kB / 0.6013 GB, free: 17.87 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008956/0.353, allocations: 0.514 MB / 0.6018 GB, free: 17.83 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004928/0.3535, allocations: 0.8474 MB / 0.6026 GB, free: 17.24 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001142/0.3546, allocations: 1.762 MB / 0.6043 GB, free: 16.01 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003311/0.3579, allocations: 3.647 MB / 0.6079 GB, free: 14.66 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.358, allocations: 3.938 kB / 0.6079 GB, free: 14.66 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.358, allocations: 0 / 0.6079 GB, free: 14.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.248e-05/0.358, allocations: 0 / 0.6079 GB, free: 14.66 MB / 430.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.01641/0.3745, allocations: 5.523 MB / 0.6133 GB, free: 12.03 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.3745, allocations: 9.375 kB / 0.6133 GB, free: 12.03 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009746/0.3843, allocations: 1.642 MB / 0.6149 GB, free: 11.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003298/0.3876, allocations: 2.065 MB / 0.6169 GB, free: 10.4 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000387/0.388, allocations: 498.9 kB / 0.6174 GB, free: 9.977 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003431/0.3883, allocations: 211.5 kB / 0.6176 GB, free: 9.902 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004582/0.3929, allocations: 2.472 MB / 0.62 GB, free: 8.938 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/0.393, allocations: 3.938 kB / 0.62 GB, free: 8.934 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002021/0.3932, allocations: 78.5 kB / 0.6201 GB, free: 8.875 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.484e-05/0.3932, allocations: 45.25 kB / 0.6201 GB, free: 8.875 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004271/0.3975, allocations: 2.271 MB / 0.6223 GB, free: 8.062 MB / 430.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.01466/0.4122, allocations: 9.429 MB / 0.6315 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009276/0.4214, allocations: 4.599 MB / 0.636 GB, free: 11.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002569/0.424, allocations: 1.566 MB / 0.6376 GB, free: 10.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001979/0.4242, allocations: 37.97 kB / 0.6376 GB, free: 10.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003146/0.4274, allocations: 1.839 MB / 0.6394 GB, free: 8.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=245): time 4.428e-06/0.4274, allocations: 0 / 0.6394 GB, free: 8.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=245): time 0.07842/0.5058, allocations: 19.06 MB / 0.658 GB, free: 5.297 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.506, allocations: 235.6 kB / 0.6582 GB, free: 5.016 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003939/0.5099, allocations: 2.652 MB / 0.6608 GB, free: 2.352 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002466/0.5102, allocations: 69.7 kB / 0.6609 GB, free: 2.277 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008368/0.511, allocations: 1.182 MB / 0.662 GB, free: 1.086 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008174/0.5118, allocations: 0.8705 MB / 0.6629 GB, free: 208 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001017/0.5129, allocations: 0.5854 MB / 0.6635 GB, free: 15.61 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.392e-05/0.5129, allocations: 305.1 kB / 0.6637 GB, free: 15.31 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003024/0.516, allocations: 1.623 MB / 0.6653 GB, free: 13.68 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003235/0.5192, allocations: 1.95 MB / 0.6672 GB, free: 11.66 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04138/0.5606, allocations: 11.17 MB / 0.6781 GB, free: 256 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.5606, allocations: 0 / 0.6781 GB, free: 256 kB / 478.1 MB Notification: Performance of matching and sorting (n=426) (initialization): time 0.02165/0.5823, allocations: 7.925 MB / 0.6859 GB, free: 8.242 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.226e-05/0.5824, allocations: 170.1 kB / 0.686 GB, free: 8.039 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/0.5824, allocations: 8 kB / 0.6861 GB, free: 8.031 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01074/0.5932, allocations: 3.077 MB / 0.6891 GB, free: 4.941 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002845/0.596, allocations: 0.6203 MB / 0.6897 GB, free: 4.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03825/0.6343, allocations: 19.45 MB / 0.7087 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004019/0.6383, allocations: 425.2 kB / 0.7091 GB, free: 16 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002705/0.6386, allocations: 120 kB / 0.7092 GB, free: 15.9 MB / 0.5137 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.001186/0.6398, allocations: 0.6143 MB / 0.7098 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004619/0.6403, allocations: 324.1 kB / 0.7101 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02207/0.6624, allocations: 7.46 MB / 0.7174 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.819e-05/0.6624, allocations: 32 kB / 0.7174 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.6624, allocations: 0 / 0.7174 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.928e-05/0.6624, allocations: 11.95 kB / 0.7174 GB, free: 7.379 MB / 0.5137 GB 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 postOpt removeSimpleEquations (simulation): time 0.02727/0.6897, allocations: 12.22 MB / 0.7293 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.6897, allocations: 4.094 kB / 0.7293 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001234/0.691, allocations: 231.7 kB / 0.7296 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0115/0.7025, allocations: 3.543 MB / 0.733 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002123/0.7027, allocations: 59.98 kB / 0.7331 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04135/0.7441, allocations: 21.54 MB / 0.7541 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.7441, allocations: 7.938 kB / 0.7541 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02791/0.772, allocations: 9.359 MB / 0.7633 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001292/0.7734, allocations: 460.5 kB / 0.7637 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004439/0.7738, allocations: 55.88 kB / 0.7638 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002463/0.7763, allocations: 231.7 kB / 0.764 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001255/0.7776, allocations: 394.4 kB / 0.7644 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001819/0.7777, allocations: 63.98 kB / 0.7644 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002682/0.7804, allocations: 1.771 MB / 0.7662 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7804, allocations: 4 kB / 0.7662 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002986/0.7834, allocations: 1.073 MB / 0.7672 GB, free: 3.418 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 25 (sTATCOM3_1.simpleLagLim.state,gen1.gen.delta,gen1.gen.w,gen1.gen.e1q,gen1.gen.e1d,gen1.AVR.ExcitationSystem.x_scaled[1],gen1.AVR.derivativeBlock.x,gen1.AVR.firstOrder2.y,gen1.AVR.simpleLagLim.state,gen2.gen.delta,gen2.gen.w,gen2.gen.e1q,gen2.gen.e1d,gen2.AVR.ExcitationSystem.x_scaled[1],gen2.AVR.derivativeBlock.x,gen2.AVR.firstOrder2.y,gen2.AVR.simpleLagLim.state,gen3.gen.delta,gen3.gen.w,gen3.gen.e1q,gen3.gen.e1d,gen3.AVR.ExcitationSystem.x_scaled[1],gen3.AVR.derivativeBlock.x,gen3.AVR.firstOrder2.y,gen3.AVR.simpleLagLim.state) * Number of discrete variables: 8 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(43,48), (1,6), (1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003887/0.7838, allocations: 177.2 kB / 0.7674 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2357/1.02, allocations: 5.691 MB / 0.7729 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.859e-06/1.02, allocations: 4.75 kB / 0.7729 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.009159/1.029, allocations: 3.688 MB / 0.7765 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002781/1.032, allocations: 295.5 kB / 0.7768 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/1.042, allocations: 6.925 MB / 0.7836 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001416/1.044, allocations: 1.836 MB / 0.7854 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001142/1.045, allocations: 183.6 kB / 0.7855 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of SimCode: time 9.31e-07/1.045, allocations: 0 / 0.7855 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.08188/1.127, allocations: 82.46 MB / 0.8661 GB, free: 86.8 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.sim & ./OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe 2>&1)