Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.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.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09648/0.09648, allocations: 12.6 MB / 28.1 MB, free: 388 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 107.5 kB / 31.7 MB, free: 3.543 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.393/1.393, allocations: 205.1 MB / 240.3 MB, free: 12.44 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.001751/0.001751, allocations: 188.5 kB / 290.5 MB, free: 13.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4721/0.4721, allocations: 78.5 MB / 419.2 MB, free: 11.37 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.00298/0.00298, allocations: 145 kB / 499.8 MB, free: 10.86 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4074/0.4104, allocations: 68.11 MB / 0.5546 GB, free: 32.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.007495/0.4179, allocations: 6.556 MB / 0.561 GB, free: 27.78 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004967/0.4229, allocations: 1.923 MB / 0.5628 GB, free: 26.31 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001206/0.4242, allocations: 10.12 kB / 0.5629 GB, free: 26.31 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007672/0.425, allocations: 234.5 kB / 0.5631 GB, free: 26.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002161/0.4271, allocations: 0.7993 MB / 0.5639 GB, free: 25.47 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001421/0.4286, allocations: 0.6306 MB / 0.5645 GB, free: 25.01 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002304/0.4309, allocations: 1.567 MB / 0.566 GB, free: 24.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006074/0.4315, allocations: 336.3 kB / 0.5663 GB, free: 23.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.4326, allocations: 0.65 MB / 0.567 GB, free: 23.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009142/0.4336, allocations: 0.8272 MB / 0.5678 GB, free: 22.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002104/0.4338, allocations: 121.6 kB / 0.5679 GB, free: 22.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000658/0.4345, allocations: 250.3 kB / 0.5681 GB, free: 22.86 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002623/0.4347, allocations: 329.4 kB / 0.5684 GB, free: 22.58 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005292/0.4353, allocations: 0.6685 MB / 0.5691 GB, free: 22.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001597/0.4369, allocations: 1.643 MB / 0.5707 GB, free: 20.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.4369, allocations: 7.938 kB / 0.5707 GB, free: 20.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4369, allocations: 0 / 0.5707 GB, free: 20.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.619e-05/0.4369, allocations: 1.125 kB / 0.5707 GB, free: 20.82 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.008822/0.4457, allocations: 2.69 MB / 0.5733 GB, free: 19.1 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.4458, allocations: 13.52 kB / 0.5733 GB, free: 19.1 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005088/0.4509, allocations: 0.7728 MB / 0.5741 GB, free: 18.78 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/0.4525, allocations: 0.8865 MB / 0.575 GB, free: 18.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002606/0.4527, allocations: 258.4 kB / 0.5752 GB, free: 17.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001608/0.4529, allocations: 82.33 kB / 0.5753 GB, free: 17.8 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002043/0.455, allocations: 1.085 MB / 0.5763 GB, free: 17.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.455, allocations: 0 / 0.5763 GB, free: 17.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.122e-05/0.4551, allocations: 28 kB / 0.5764 GB, free: 17.03 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.4551, allocations: 20 kB / 0.5764 GB, free: 17.01 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001749/0.4569, allocations: 0.9916 MB / 0.5774 GB, free: 16.02 MB / 398.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.005612/0.4625, allocations: 3.816 MB / 0.5811 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006738/0.4692, allocations: 2.373 MB / 0.5834 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001134/0.4704, allocations: 0.6761 MB / 0.5841 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.319e-05/0.4705, allocations: 16.98 kB / 0.5841 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001346/0.4718, allocations: 0.8177 MB / 0.5849 GB, free: 8.027 MB / 398.1 MB Notification: Performance of pre-optimization done (n=95): time 3.086e-06/0.4719, allocations: 0 / 0.5849 GB, free: 8.027 MB / 398.1 MB Notification: Performance of matching and sorting (n=95): time 0.0276/0.4995, allocations: 7.186 MB / 0.5919 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.163e-05/0.4996, allocations: 119.7 kB / 0.592 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001712/0.5013, allocations: 1.091 MB / 0.5931 GB, free: 15.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002243/0.5015, allocations: 49.69 kB / 0.5931 GB, free: 15.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004078/0.5019, allocations: 488.7 kB / 0.5936 GB, free: 14.99 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004585/0.5024, allocations: 355 kB / 0.5939 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005184/0.5029, allocations: 287.4 kB / 0.5942 GB, free: 14.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.5031, allocations: 301.1 kB / 0.5945 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001714/0.5048, allocations: 0.7574 MB / 0.5952 GB, free: 13.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001747/0.5066, allocations: 0.9225 MB / 0.5961 GB, free: 12.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02379/0.5304, allocations: 5.572 MB / 0.6016 GB, free: 6.676 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.159e-05/0.5304, allocations: 4 kB / 0.6016 GB, free: 6.672 MB / 414.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01344/0.5439, allocations: 4.348 MB / 0.6058 GB, free: 2.297 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.933e-05/0.5441, allocations: 67.34 kB / 0.6059 GB, free: 2.219 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.096e-05/0.5441, allocations: 4 kB / 0.6059 GB, free: 2.215 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006106/0.5502, allocations: 1.595 MB / 0.6074 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001695/0.5519, allocations: 275.6 kB / 0.6077 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02165/0.5736, allocations: 8.517 MB / 0.616 GB, free: 7.668 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002474/0.5761, allocations: 202.7 kB / 0.6162 GB, free: 7.469 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004108/0.5765, allocations: 59.91 kB / 0.6163 GB, free: 7.41 MB / 430.1 MB Warning: Assuming fixed start value for the following 4 variables: order3.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 order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (160): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(19,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00118/0.5777, allocations: 308.2 kB / 0.6166 GB, free: 7.094 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006086/0.5784, allocations: 118.5 kB / 0.6167 GB, free: 6.977 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01306/0.5914, allocations: 3.881 MB / 0.6205 GB, free: 3.066 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.579e-05/0.5915, allocations: 12 kB / 0.6205 GB, free: 3.055 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.24e-05/0.5916, allocations: 8 kB / 0.6205 GB, free: 3.047 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-05/0.5916, allocations: 3.984 kB / 0.6205 GB, free: 3.043 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 postOpt removeSimpleEquations (simulation): time 0.01623/0.6078, allocations: 5.454 MB / 0.6258 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/0.6079, allocations: 0 / 0.6258 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006321/0.6085, allocations: 95.89 kB / 0.6259 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005924/0.6145, allocations: 1.603 MB / 0.6275 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002052/0.6147, allocations: 23.98 kB / 0.6275 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02132/0.6361, allocations: 9.639 MB / 0.6369 GB, free: 1.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.6361, allocations: 3.938 kB / 0.6369 GB, free: 1.816 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01483/0.651, allocations: 4.721 MB / 0.6415 GB, free: 13.06 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007326/0.6517, allocations: 219.3 kB / 0.6417 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004093/0.6522, allocations: 23.94 kB / 0.6418 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001437/0.6536, allocations: 107.9 kB / 0.6419 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006321/0.6543, allocations: 192.7 kB / 0.6421 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.045e-05/0.6544, allocations: 27.98 kB / 0.6421 GB, free: 12.48 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001393/0.6558, allocations: 0.7356 MB / 0.6428 GB, free: 11.73 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6558, allocations: 0 / 0.6428 GB, free: 11.73 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001983/0.6578, allocations: 479.5 kB / 0.6433 GB, free: 11.27 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003656/0.6582, allocations: 137.2 kB / 0.6434 GB, free: 11.12 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007011/0.6652, allocations: 2.552 MB / 0.6459 GB, free: 8.531 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.6652, allocations: 4.062 kB / 0.6459 GB, free: 8.527 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004417/0.6696, allocations: 1.593 MB / 0.6474 GB, free: 6.898 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.6709, allocations: 120.4 kB / 0.6475 GB, free: 6.785 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004701/0.6756, allocations: 2.236 MB / 0.6497 GB, free: 4.531 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008259/0.6765, allocations: 1.116 MB / 0.6508 GB, free: 3.387 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005337/0.677, allocations: 124 kB / 0.6509 GB, free: 3.262 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002962/0.6773, allocations: 83.41 kB / 0.651 GB, free: 3.18 MB / 462.1 MB Notification: Performance of SimCode: time 8.92e-07/0.6773, allocations: 7.875 kB / 0.651 GB, free: 3.172 MB / 462.1 MB Notification: Performance of Templates: time 0.04769/0.725, allocations: 23.57 MB / 0.674 GB, free: 11.63 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)