Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.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.PSATSystems.ThreeArea.FourthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 103.1 kB / 15.06 MB, free: 1.098 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.439/1.439, allocations: 223.2 MB / 238.9 MB, free: 5.66 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.001764/0.001764, allocations: 185 kB / 290.2 MB, free: 2.348 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.499/0.499, allocations: 79.45 MB / 420.7 MB, free: 3.984 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000397/0.0003971, allocations: 12 kB / 0.489 GB, free: 5.625 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.147, allocations: 69.52 MB / 0.5569 GB, free: 52 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII): time 0.2629/0.4099, allocations: 11.46 MB / 0.5681 GB, free: 35.42 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008663/0.4186, allocations: 3.37 MB / 0.5714 GB, free: 32.99 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003615/0.4223, allocations: 31.41 kB / 0.5714 GB, free: 32.99 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002248/0.4246, allocations: 349.9 kB / 0.5717 GB, free: 32.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005994/0.4306, allocations: 1.254 MB / 0.573 GB, free: 31.97 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003969/0.4346, allocations: 1.246 MB / 0.5742 GB, free: 31.4 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006058/0.4406, allocations: 2.16 MB / 0.5763 GB, free: 30.22 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001653/0.4423, allocations: 0.614 MB / 0.5769 GB, free: 29.96 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002199/0.4445, allocations: 1.177 MB / 0.578 GB, free: 29.4 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002667/0.4472, allocations: 1.535 MB / 0.5795 GB, free: 28.72 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001076/0.4483, allocations: 134 kB / 0.5797 GB, free: 28.72 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001845/0.4501, allocations: 245.2 kB / 0.5799 GB, free: 28.69 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001024/0.4512, allocations: 0.5285 MB / 0.5804 GB, free: 28.38 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001348/0.4525, allocations: 496.5 kB / 0.5809 GB, free: 28.08 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005198/0.4577, allocations: 2.53 MB / 0.5833 GB, free: 27.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.4578, allocations: 0 / 0.5833 GB, free: 27.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.4578, allocations: 0 / 0.5833 GB, free: 27.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002204/0.458, allocations: 0 / 0.5833 GB, free: 27.27 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: 487 * Number of variables: 487 Notification: Performance of Generate backend data structure: time 0.02353/0.4815, allocations: 5.716 MB / 0.5889 GB, free: 25.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.481e-05/0.4816, allocations: 15.72 kB / 0.5889 GB, free: 25.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01612/0.4978, allocations: 2.265 MB / 0.5912 GB, free: 24.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005584/0.5034, allocations: 1.55 MB / 0.5927 GB, free: 23.89 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009892/0.5044, allocations: 0.6913 MB / 0.5933 GB, free: 23.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00144/0.5059, allocations: 200.9 kB / 0.5935 GB, free: 23.24 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01163/0.5175, allocations: 3.074 MB / 0.5965 GB, free: 22.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.131e-05/0.5177, allocations: 0 / 0.5965 GB, free: 22.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000765/0.5184, allocations: 76.25 kB / 0.5966 GB, free: 22.12 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.872e-05/0.5185, allocations: 50.36 kB / 0.5967 GB, free: 22.11 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008626/0.5272, allocations: 2.865 MB / 0.5995 GB, free: 21.21 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.02689/0.5541, allocations: 10.13 MB / 0.6093 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01308/0.5672, allocations: 4.781 MB / 0.614 GB, free: 13.81 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005455/0.5678, allocations: 43.38 kB / 0.6141 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.558e-05/0.5679, allocations: 57.78 kB / 0.6141 GB, free: 13.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=228): time 4.619e-06/0.5679, allocations: 0 / 0.6141 GB, free: 13.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=228): time 0.1307/0.6986, allocations: 35.49 MB / 0.6488 GB, free: 14.35 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.6987, allocations: 128.8 kB / 0.6489 GB, free: 14.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003062/0.7018, allocations: 1.953 MB / 0.6508 GB, free: 12.22 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008963/0.7027, allocations: 69.7 kB / 0.6509 GB, free: 12.15 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009102/0.7036, allocations: 1.069 MB / 0.6519 GB, free: 11.07 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001115/0.7048, allocations: 0.8049 MB / 0.6527 GB, free: 10.25 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002219/0.705, allocations: 56 kB / 0.6527 GB, free: 10.2 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.7052, allocations: 416.1 kB / 0.6531 GB, free: 9.781 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004147/0.7093, allocations: 2.063 MB / 0.6552 GB, free: 7.715 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004531/0.7139, allocations: 2.417 MB / 0.6575 GB, free: 5.199 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004605/0.7185, allocations: 2.215 MB / 0.6597 GB, free: 2.961 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.191e-05/0.7185, allocations: 5.969 kB / 0.6597 GB, free: 2.957 MB / 462.1 MB Notification: Performance of matching and sorting (n=377) (initialization): time 0.04289/0.7614, allocations: 14.81 MB / 0.6742 GB, free: 4.09 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001309/0.7628, allocations: 2.707 MB / 0.6768 GB, free: 1.117 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.248e-05/0.7628, allocations: 4 kB / 0.6768 GB, free: 1.113 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02074/0.7836, allocations: 6.385 MB / 0.683 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002771/0.7864, allocations: 487.3 kB / 0.6835 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06554/0.8519, allocations: 26.5 MB / 0.7094 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004865/0.8568, allocations: 0.5401 MB / 0.7099 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003956/0.8573, allocations: 108 kB / 0.71 GB, free: 15 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.8573, allocations: 4 kB / 0.71 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04132/0.8986, allocations: 14.49 MB / 0.7242 GB, free: 472 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.681e-05/0.8987, allocations: 4.5 kB / 0.7242 GB, free: 468 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02014/0.9188, allocations: 6.382 MB / 0.7304 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002814/0.9217, allocations: 471.3 kB / 0.7309 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06505/0.9868, allocations: 26.49 MB / 0.7567 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00422/0.991, allocations: 0.4938 MB / 0.7572 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000342/0.9914, allocations: 104 kB / 0.7573 GB, free: 14.38 MB / 0.5606 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (287): * Single equations (assignments): 286 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.001375/0.9928, allocations: 0.5102 MB / 0.7578 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006304/0.9934, allocations: 269.4 kB / 0.7581 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3127/1.306, allocations: 14.25 MB / 0.772 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.468e-05/1.306, allocations: 22.19 kB / 0.772 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.074e-05/1.306, allocations: 22.06 kB / 0.772 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.155e-05/1.306, allocations: 10.83 kB / 0.772 GB, free: 158.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.04565/1.352, allocations: 17.8 MB / 0.7894 GB, free: 157.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.361e-05/1.352, allocations: 2.281 kB / 0.7894 GB, free: 157.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001557/1.354, allocations: 247 kB / 0.7896 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01929/1.373, allocations: 6.056 MB / 0.7956 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007668/1.374, allocations: 44.47 kB / 0.7956 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05623/1.43, allocations: 22.66 MB / 0.8177 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/1.43, allocations: 4 kB / 0.8177 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04271/1.473, allocations: 16.79 MB / 0.8341 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001317/1.474, allocations: 380.4 kB / 0.8345 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000909/1.475, allocations: 44 kB / 0.8345 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002793/1.478, allocations: 365.4 kB / 0.8349 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001894/1.48, allocations: 0.5392 MB / 0.8354 GB, free: 144.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001847/1.48, allocations: 59.52 kB / 0.8355 GB, free: 144.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00146/1.481, allocations: 1.266 MB / 0.8367 GB, free: 143.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.91e-07/1.481, allocations: 0 / 0.8367 GB, free: 143.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005211/1.487, allocations: 1.836 MB / 0.8385 GB, free: 141.4 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 15 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(65,7.8%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004113/1.487, allocations: 165.7 kB / 0.8387 GB, free: 141.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.03006/1.517, allocations: 12.19 MB / 0.8506 GB, free: 130.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/1.517, allocations: 0.8438 kB / 0.8506 GB, free: 130.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01339/1.531, allocations: 4.611 MB / 0.8551 GB, free: 126.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00202/1.533, allocations: 183.2 kB / 0.8552 GB, free: 126.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009643/1.542, allocations: 6.189 MB / 0.8613 GB, free: 120 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001055/1.543, allocations: 1.783 MB / 0.863 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00147/1.545, allocations: 277.6 kB / 0.8633 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004886/1.545, allocations: 147.4 kB / 0.8634 GB, free: 117.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.122e-06/1.545, allocations: 4 kB / 0.8634 GB, free: 117.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.09672/1.642, allocations: 72.54 MB / 0.9343 GB, free: 45.3 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe 2>&1)