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.0013/0.0013, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.321/1.321, allocations: 222.9 MB / 239.9 MB, free: 4.617 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.001499/0.001499, allocations: 196.4 kB / 290.2 MB, free: 2.332 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5308/0.5308, allocations: 91.89 MB / 432.3 MB, free: 9.301 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00173/0.001731, allocations: 75.88 kB / 0.5025 GB, free: 7.781 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4087/0.4104, allocations: 71.26 MB / 0.5721 GB, free: 36.72 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom): time 0.01029/0.4208, allocations: 13.73 MB / 0.5855 GB, free: 27.62 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007733/0.4285, allocations: 3.688 MB / 0.5891 GB, free: 24.96 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003015/0.4316, allocations: 29.84 kB / 0.5892 GB, free: 24.95 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001556/0.4332, allocations: 0.5298 MB / 0.5897 GB, free: 24.65 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00455/0.4378, allocations: 1.475 MB / 0.5911 GB, free: 23.64 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002812/0.4406, allocations: 1.366 MB / 0.5925 GB, free: 22.89 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005632/0.4462, allocations: 4.208 MB / 0.5966 GB, free: 20.71 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001422/0.4477, allocations: 0.9661 MB / 0.5975 GB, free: 20.2 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002623/0.4503, allocations: 1.639 MB / 0.5991 GB, free: 19.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002437/0.4528, allocations: 1.974 MB / 0.601 GB, free: 18.33 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007971/0.4536, allocations: 378.8 kB / 0.6014 GB, free: 18.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001219/0.4548, allocations: 0.5086 MB / 0.6019 GB, free: 18.29 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005985/0.4554, allocations: 0.8504 MB / 0.6027 GB, free: 17.7 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00148/0.4569, allocations: 1.769 MB / 0.6045 GB, free: 16.45 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005499/0.4624, allocations: 4.522 MB / 0.6089 GB, free: 14.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.4624, allocations: 0 / 0.6089 GB, free: 14.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4624, allocations: 3.938 kB / 0.6089 GB, free: 14.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000179/0.4626, allocations: 0 / 0.6089 GB, free: 14.48 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.02041/0.483, allocations: 5.522 MB / 0.6143 GB, free: 11.85 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.4831, allocations: 10.17 kB / 0.6143 GB, free: 11.85 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01112/0.4942, allocations: 1.638 MB / 0.6159 GB, free: 11.48 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005176/0.4995, allocations: 2.069 MB / 0.6179 GB, free: 10.22 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004873/0.5, allocations: 0.4915 MB / 0.6184 GB, free: 9.793 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004794/0.5005, allocations: 205.5 kB / 0.6186 GB, free: 9.723 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0054/0.5059, allocations: 2.472 MB / 0.621 GB, free: 8.758 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.077e-05/0.5059, allocations: 5.531 kB / 0.621 GB, free: 8.754 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000227/0.5062, allocations: 81.64 kB / 0.6211 GB, free: 8.691 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.715e-05/0.5062, allocations: 44.75 kB / 0.6211 GB, free: 8.691 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005155/0.5114, allocations: 2.281 MB / 0.6233 GB, free: 7.871 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.01727/0.5287, allocations: 9.417 MB / 0.6325 GB, free: 224 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01012/0.5388, allocations: 4.603 MB / 0.637 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003564/0.5424, allocations: 1.574 MB / 0.6386 GB, free: 9.762 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002062/0.5427, allocations: 37.97 kB / 0.6386 GB, free: 9.723 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003567/0.5462, allocations: 1.829 MB / 0.6404 GB, free: 7.867 MB / 446.1 MB Notification: Performance of pre-optimization done (n=245): time 4.819e-06/0.5463, allocations: 0 / 0.6404 GB, free: 7.867 MB / 446.1 MB Notification: Performance of matching and sorting (n=245): time 0.08161/0.6279, allocations: 19.06 MB / 0.659 GB, free: 4.664 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.628, allocations: 235.6 kB / 0.6592 GB, free: 4.383 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004606/0.6327, allocations: 2.648 MB / 0.6618 GB, free: 1.723 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008268/0.6335, allocations: 77.69 kB / 0.6619 GB, free: 1.641 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009505/0.6344, allocations: 1.186 MB / 0.663 GB, free: 456 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001075/0.6355, allocations: 0.8627 MB / 0.6639 GB, free: 15.57 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001014/0.6366, allocations: 0.5893 MB / 0.6645 GB, free: 14.97 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.044e-05/0.6367, allocations: 305.1 kB / 0.6648 GB, free: 14.67 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003112/0.6398, allocations: 1.623 MB / 0.6663 GB, free: 13.05 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003311/0.6431, allocations: 1.954 MB / 0.6682 GB, free: 11.02 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04317/0.6863, allocations: 11.16 MB / 0.6791 GB, free: 15.61 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.6863, allocations: 4 kB / 0.6792 GB, free: 15.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=426) (initialization): time 0.02273/0.7091, allocations: 7.921 MB / 0.6869 GB, free: 7.609 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001145/0.7092, allocations: 170.2 kB / 0.6871 GB, free: 7.406 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.7093, allocations: 4 kB / 0.6871 GB, free: 7.402 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01108/0.7203, allocations: 3.077 MB / 0.6901 GB, free: 4.312 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003368/0.7237, allocations: 0.6203 MB / 0.6907 GB, free: 3.691 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04043/0.7642, allocations: 19.46 MB / 0.7097 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004535/0.7688, allocations: 429.1 kB / 0.7101 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002704/0.769, allocations: 116 kB / 0.7102 GB, free: 15.27 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.001304/0.7704, allocations: 0.6156 MB / 0.7108 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005048/0.7709, allocations: 312.2 kB / 0.7111 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02308/0.7939, allocations: 7.476 MB / 0.7184 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.092e-05/0.794, allocations: 27.94 kB / 0.7184 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.794, allocations: 12 kB / 0.7184 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.964e-05/0.7941, allocations: 11.95 kB / 0.7184 GB, free: 6.734 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.03262/0.8267, allocations: 12.2 MB / 0.7304 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.648e-05/0.8268, allocations: 4.094 kB / 0.7304 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001535/0.8284, allocations: 235.7 kB / 0.7306 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01198/0.8403, allocations: 3.535 MB / 0.734 GB, free: 6.465 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005416/0.8409, allocations: 55.98 kB / 0.7341 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04448/0.8854, allocations: 21.54 MB / 0.7551 GB, free: 284 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.8855, allocations: 3.938 kB / 0.7551 GB, free: 280 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02779/0.9133, allocations: 9.374 MB / 0.7643 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001411/0.9147, allocations: 456.5 kB / 0.7647 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006497/0.9154, allocations: 55.94 kB / 0.7648 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00258/0.918, allocations: 231.7 kB / 0.765 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001257/0.9192, allocations: 390.4 kB / 0.7654 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001789/0.9194, allocations: 75.97 kB / 0.7654 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002816/0.9223, allocations: 1.763 MB / 0.7672 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9223, allocations: 4 kB / 0.7672 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0035/0.9258, allocations: 1.069 MB / 0.7682 GB, free: 2.785 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.0004373/0.9262, allocations: 173.2 kB / 0.7684 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2785/1.205, allocations: 5.7 MB / 0.7739 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.457e-06/1.205, allocations: 3.938 kB / 0.7739 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.009299/1.214, allocations: 3.692 MB / 0.7775 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0029/1.217, allocations: 293 kB / 0.7778 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01304/1.23, allocations: 5.885 MB / 0.7836 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001994/1.232, allocations: 1.837 MB / 0.7854 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001705/1.234, allocations: 188.8 kB / 0.7856 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.583e-06/1.234, allocations: 1.156 kB / 0.7856 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.09762/1.331, allocations: 82.47 MB / 0.8661 GB, free: 101.7 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)