Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.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.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 105 kB / 15.98 MB, free: 6.355 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.492/1.492, allocations: 222.9 MB / 239.6 MB, free: 4.73 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.001498/0.001497, allocations: 188.5 kB / 289.9 MB, free: 2.473 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5621/0.5621, allocations: 92.62 MB / 432.7 MB, free: 8.742 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002579/0.00258, allocations: 87.86 kB / 0.5029 GB, free: 7.246 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.4107, allocations: 71.39 MB / 0.5726 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.01558/0.4263, allocations: 23.3 MB / 0.5953 GB, free: 20.08 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01196/0.4384, allocations: 5.141 MB / 0.6004 GB, free: 16.35 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006211/0.4446, allocations: 51.25 kB / 0.6004 GB, free: 16.35 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003597/0.4483, allocations: 0.6706 MB / 0.6011 GB, free: 16.08 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008787/0.4571, allocations: 1.72 MB / 0.6027 GB, free: 14.88 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006245/0.4634, allocations: 1.904 MB / 0.6046 GB, free: 13.79 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01038/0.4737, allocations: 5.662 MB / 0.6101 GB, free: 10.88 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00367/0.4775, allocations: 1.323 MB / 0.6114 GB, free: 10.24 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005342/0.4828, allocations: 2.341 MB / 0.6137 GB, free: 9.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00581/0.4887, allocations: 2.934 MB / 0.6166 GB, free: 7.531 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002801/0.4915, allocations: 437.2 kB / 0.617 GB, free: 7.531 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004078/0.4956, allocations: 0.5783 MB / 0.6176 GB, free: 7.488 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002762/0.4984, allocations: 1.148 MB / 0.6187 GB, free: 6.703 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006598/0.505, allocations: 2.62 MB / 0.6212 GB, free: 4.949 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009608/0.5146, allocations: 4.848 MB / 0.626 GB, free: 2.973 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.5147, allocations: 0 / 0.626 GB, free: 2.973 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.406e-06/0.5147, allocations: 0 / 0.626 GB, free: 2.973 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003397/0.515, allocations: 3.938 kB / 0.626 GB, free: 2.969 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.03861/0.5537, allocations: 9.156 MB / 0.6349 GB, free: 14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.5537, allocations: 16.03 kB / 0.6349 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02886/0.5826, allocations: 4.009 MB / 0.6388 GB, free: 9.965 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008324/0.591, allocations: 2.643 MB / 0.6414 GB, free: 7.238 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001384/0.5924, allocations: 0.9573 MB / 0.6424 GB, free: 6.145 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002025/0.5944, allocations: 347.9 kB / 0.6427 GB, free: 5.805 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0177/0.6122, allocations: 4.727 MB / 0.6473 GB, free: 1.047 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000168/0.6124, allocations: 7.922 kB / 0.6473 GB, free: 1.039 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001634/0.614, allocations: 140 kB / 0.6474 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.113e-05/0.6141, allocations: 84 kB / 0.6475 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0137/0.6278, allocations: 4.244 MB / 0.6517 GB, free: 12.57 MB / 462.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.04736/0.6753, allocations: 18.31 MB / 0.6696 GB, free: 9.078 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01462/0.6899, allocations: 4.992 MB / 0.6744 GB, free: 4.004 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007774/0.6977, allocations: 2.779 MB / 0.6771 GB, free: 1.215 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/0.6989, allocations: 70.89 kB / 0.6772 GB, free: 1.145 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009204/0.7081, allocations: 3.165 MB / 0.6803 GB, free: 13.94 MB / 494.1 MB Notification: Performance of pre-optimization done (n=382): time 1.731e-05/0.7081, allocations: 4 kB / 0.6803 GB, free: 13.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=382): time 0.3254/1.034, allocations: 68.21 MB / 0.7469 GB, free: 9.531 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001471/1.034, allocations: 145.8 kB / 0.7471 GB, free: 9.363 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007722/1.041, allocations: 3.222 MB / 0.7502 GB, free: 6.121 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001123/1.043, allocations: 89.7 kB / 0.7503 GB, free: 6.027 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002086/1.045, allocations: 1.974 MB / 0.7522 GB, free: 4.039 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002988/1.048, allocations: 1.305 MB / 0.7535 GB, free: 2.715 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004566/1.052, allocations: 0.6703 MB / 0.7541 GB, free: 2.031 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001764/1.053, allocations: 301.1 kB / 0.7544 GB, free: 1.734 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007463/1.06, allocations: 2.581 MB / 0.7569 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007691/1.068, allocations: 3.209 MB / 0.7601 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3777/1.445, allocations: 18.81 MB / 0.7785 GB, free: 154 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.869e-05/1.446, allocations: 5.281 kB / 0.7785 GB, free: 154 MB / 0.5606 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.05842/1.504, allocations: 16.93 MB / 0.795 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.063e-05/1.504, allocations: 62.41 kB / 0.7951 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.855e-05/1.504, allocations: 15.12 kB / 0.7951 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02713/1.531, allocations: 7.248 MB / 0.8021 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003756/1.535, allocations: 0.6641 MB / 0.8028 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09024/1.625, allocations: 33.77 MB / 0.8358 GB, free: 132.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006954/1.632, allocations: 0.6142 MB / 0.8364 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00128/1.634, allocations: 156 kB / 0.8365 GB, free: 131.7 MB / 0.5606 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (398): * Single equations (assignments): 395 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,45)} Notification: Performance of prepare postOptimizeDAE: time 0.003431/1.637, allocations: 0.6666 MB / 0.8372 GB, free: 131 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001989/1.639, allocations: 458.3 kB / 0.8376 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05236/1.691, allocations: 16.83 MB / 0.854 GB, free: 113.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.77e-05/1.692, allocations: 40 kB / 0.8541 GB, free: 113.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.667e-05/1.692, allocations: 28 kB / 0.8541 GB, free: 113.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001058/1.692, allocations: 19.94 kB / 0.8541 GB, free: 113.6 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.06041/1.752, allocations: 21.82 MB / 0.8754 GB, free: 91.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.429e-05/1.752, allocations: 3.938 kB / 0.8754 GB, free: 91.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002298/1.755, allocations: 391.5 kB / 0.8758 GB, free: 91.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02393/1.778, allocations: 7.398 MB / 0.883 GB, free: 83.91 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001237/1.78, allocations: 67.98 kB / 0.8831 GB, free: 83.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07632/1.856, allocations: 31.84 MB / 0.9142 GB, free: 51.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/1.856, allocations: 0 / 0.9142 GB, free: 51.71 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05784/1.914, allocations: 20.19 MB / 0.9339 GB, free: 31.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001884/1.916, allocations: 0.557 MB / 0.9345 GB, free: 30.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001291/1.917, allocations: 67.98 kB / 0.9345 GB, free: 30.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004328/1.922, allocations: 379.6 kB / 0.9349 GB, free: 30.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002974/1.925, allocations: 0.7805 MB / 0.9356 GB, free: 29.63 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002973/1.925, allocations: 91.98 kB / 0.9357 GB, free: 29.54 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002457/1.927, allocations: 2.113 MB / 0.9378 GB, free: 27.42 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.01e-07/1.927, allocations: 0 / 0.9378 GB, free: 27.42 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005134/1.932, allocations: 1.79 MB / 0.9395 GB, free: 25.63 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.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 (246): * Single equations (assignments): 243 * 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 {(100,36,5.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005651/1.933, allocations: 207.2 kB / 0.9397 GB, free: 25.43 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02882/1.962, allocations: 9.413 MB / 0.9489 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/1.962, allocations: 320 / 0.9489 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01884/1.981, allocations: 6.171 MB / 0.955 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005219/1.986, allocations: 387.6 kB / 0.9553 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01468/2.001, allocations: 9.753 MB / 0.9649 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002275/2.003, allocations: 2.447 MB / 0.9672 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001541/2.005, allocations: 271.4 kB / 0.9675 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of SimCode: time 6.51e-07/2.005, allocations: 0 / 0.9675 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of Templates: time 0.4024/2.407, allocations: 88.05 MB / 1.053 GB, free: 155.9 MB / 0.5919 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1)