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.001159/0.001165, allocations: 111.9 kB / 16.41 MB, free: 6.492 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.344/1.344, allocations: 222.9 MB / 240.1 MB, free: 4.559 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.001494/0.001494, allocations: 192.5 kB / 290.4 MB, free: 2.281 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.539/0.539, allocations: 91.89 MB / 432.4 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 86.28 kB / 0.5734 GB, free: 33.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1674, allocations: 71.28 MB / 0.643 GB, free: 3.605 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom): time 0.01316/0.1806, allocations: 13.74 MB / 0.6564 GB, free: 5.809 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008882/0.1896, allocations: 3.673 MB / 0.66 GB, free: 2.125 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00332/0.1929, allocations: 27.94 kB / 0.66 GB, free: 2.098 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002007/0.195, allocations: 0.5264 MB / 0.6605 GB, free: 1.566 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006009/0.201, allocations: 1.495 MB / 0.662 GB, free: 72 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003774/0.2048, allocations: 1.347 MB / 0.6633 GB, free: 14.73 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.007374/0.2122, allocations: 4.229 MB / 0.6674 GB, free: 10.49 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002164/0.2144, allocations: 0.969 MB / 0.6684 GB, free: 9.461 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003231/0.2177, allocations: 1.638 MB / 0.67 GB, free: 7.816 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003391/0.2211, allocations: 1.991 MB / 0.6719 GB, free: 5.816 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001505/0.2226, allocations: 372 kB / 0.6723 GB, free: 5.453 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001968/0.2246, allocations: 0.5233 MB / 0.6728 GB, free: 4.93 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000794/0.2254, allocations: 0.8405 MB / 0.6736 GB, free: 4.086 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002629/0.228, allocations: 1.764 MB / 0.6753 GB, free: 2.312 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005764/0.2338, allocations: 4.59 MB / 0.6798 GB, free: 13.71 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.2338, allocations: 0 / 0.6798 GB, free: 13.71 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.2339, allocations: 0 / 0.6798 GB, free: 13.71 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001053/0.234, allocations: 0 / 0.6798 GB, free: 13.71 MB / 494.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.01788/0.2519, allocations: 5.52 MB / 0.6852 GB, free: 8.078 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/0.2519, allocations: 12.03 kB / 0.6852 GB, free: 8.066 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01048/0.2624, allocations: 1.635 MB / 0.6868 GB, free: 6.426 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005233/0.2677, allocations: 2.084 MB / 0.6888 GB, free: 4.277 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005111/0.2682, allocations: 498.4 kB / 0.6893 GB, free: 3.723 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004418/0.2687, allocations: 207.9 kB / 0.6895 GB, free: 3.52 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004818/0.2735, allocations: 2.468 MB / 0.6919 GB, free: 1.027 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.797e-05/0.2736, allocations: 3.938 kB / 0.6919 GB, free: 1.023 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002151/0.2738, allocations: 79.98 kB / 0.692 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-05/0.2738, allocations: 44 kB / 0.692 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004463/0.2783, allocations: 2.279 MB / 0.6943 GB, free: 14.62 MB / 0.4981 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 preOpt removeSimpleEquations (simulation): time 0.01921/0.2975, allocations: 9.361 MB / 0.7034 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01044/0.308, allocations: 4.583 MB / 0.7079 GB, free: 60 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00353/0.3116, allocations: 1.566 MB / 0.7094 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002314/0.3119, allocations: 42.97 kB / 0.7095 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00366/0.3155, allocations: 1.839 MB / 0.7113 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=245): time 4.127e-06/0.3156, allocations: 4 kB / 0.7113 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=245): time 0.08132/0.3969, allocations: 19.06 MB / 0.7299 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002029/0.3972, allocations: 239.6 kB / 0.7301 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005331/0.4025, allocations: 2.648 MB / 0.7327 GB, free: 6.426 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008486/0.4034, allocations: 73.7 kB / 0.7328 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001054/0.4044, allocations: 1.182 MB / 0.7339 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001475/0.4059, allocations: 0.8744 MB / 0.7348 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001169/0.4071, allocations: 0.5854 MB / 0.7353 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.4072, allocations: 309.1 kB / 0.7356 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003258/0.4105, allocations: 1.615 MB / 0.7372 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003544/0.4141, allocations: 1.95 MB / 0.7391 GB, free: 15.73 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04424/0.4583, allocations: 11.12 MB / 0.75 GB, free: 4.371 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.467e-05/0.4584, allocations: 8 kB / 0.75 GB, free: 4.363 MB / 0.545 GB Notification: Performance of matching and sorting (n=426) (initialization): time 0.02508/0.4835, allocations: 7.93 MB / 0.7577 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001465/0.4837, allocations: 170.2 kB / 0.7579 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.006e-05/0.4837, allocations: 4 kB / 0.7579 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01189/0.4956, allocations: 3.069 MB / 0.7609 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003437/0.4991, allocations: 0.6163 MB / 0.7615 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4301/0.9292, allocations: 19.43 MB / 0.7805 GB, free: 107 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00469/0.9339, allocations: 423.2 kB / 0.7809 GB, free: 107 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004449/0.9344, allocations: 121.7 kB / 0.781 GB, free: 106.9 MB / 0.5606 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.001489/0.9359, allocations: 0.6103 MB / 0.7816 GB, free: 106.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006993/0.9366, allocations: 314.9 kB / 0.7819 GB, free: 106.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02232/0.9589, allocations: 7.473 MB / 0.7892 GB, free: 104.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.494e-05/0.959, allocations: 31.38 kB / 0.7892 GB, free: 104.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.959, allocations: 0 / 0.7892 GB, free: 104.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.683e-05/0.9591, allocations: 11.44 kB / 0.7892 GB, free: 104.5 MB / 0.5606 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.02785/0.987, allocations: 12.19 MB / 0.8011 GB, free: 99.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-05/0.987, allocations: 0.75 kB / 0.8011 GB, free: 99.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001451/0.9885, allocations: 229.5 kB / 0.8013 GB, free: 99.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01101/0.9995, allocations: 3.537 MB / 0.8048 GB, free: 97.59 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004289/1, allocations: 55.7 kB / 0.8048 GB, free: 97.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03661/1.037, allocations: 21.52 MB / 0.8259 GB, free: 75.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.037, allocations: 7.938 kB / 0.8259 GB, free: 75.71 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02438/1.061, allocations: 9.363 MB / 0.835 GB, free: 66.29 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001214/1.062, allocations: 465.1 kB / 0.8355 GB, free: 65.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000438/1.063, allocations: 48 kB / 0.8355 GB, free: 65.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002371/1.065, allocations: 237.8 kB / 0.8357 GB, free: 65.56 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00118/1.066, allocations: 390.4 kB / 0.8361 GB, free: 65.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001486/1.066, allocations: 63.98 kB / 0.8362 GB, free: 65.12 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002306/1.069, allocations: 1.775 MB / 0.8379 GB, free: 63.34 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.91e-07/1.069, allocations: 0 / 0.8379 GB, free: 63.34 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003276/1.072, allocations: 1.071 MB / 0.8389 GB, free: 62.27 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.0003706/1.072, allocations: 183.5 kB / 0.8391 GB, free: 62.09 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01075/1.083, allocations: 5.576 MB / 0.8446 GB, free: 56.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/1.083, allocations: 0 / 0.8446 GB, free: 56.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.007749/1.091, allocations: 3.697 MB / 0.8482 GB, free: 52.62 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00247/1.093, allocations: 309.7 kB / 0.8485 GB, free: 52.32 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009225/1.103, allocations: 5.797 MB / 0.8541 GB, free: 46.51 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/1.104, allocations: 1.831 MB / 0.8559 GB, free: 44.64 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008846/1.105, allocations: 187.4 kB / 0.8561 GB, free: 44.46 MB / 0.5606 GB Notification: Performance of SimCode: time 9.01e-07/1.105, allocations: 0 / 0.8561 GB, free: 44.46 MB / 0.5606 GB Notification: Performance of Templates: time 0.0807/1.185, allocations: 82.73 MB / 0.9369 GB, free: 9.695 MB / 0.6075 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)