Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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 Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001295/0.001295, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.638/1.638, allocations: 205.3 MB / 213.4 MB, free: 13.77 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008117/0.0008117, allocations: 95.38 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.09255/0.09255, allocations: 12.19 MB / 321.5 MB, free: 1.203 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3347/0.3347, allocations: 78.06 MB / 450.3 MB, free: 3.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.221e-05/2.224e-05, allocations: 4 kB / 0.5142 GB, free: 29.96 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.166, allocations: 69.24 MB / 0.5819 GB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5328/0.6988, allocations: 100.1 MB / 0.6796 GB, free: 8.449 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002286/0.6991, allocations: 78.45 kB / 0.6797 GB, free: 8.41 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08375/0.7829, allocations: 30.97 MB / 0.7099 GB, free: 14.92 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.7829, allocations: 0 / 0.7099 GB, free: 14.92 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.747e-05/0.783, allocations: 20 kB / 0.7099 GB, free: 14.9 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.004509/0.7875, allocations: 1.745 MB / 0.7116 GB, free: 13.21 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.7876, allocations: 8.031 kB / 0.7116 GB, free: 13.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003412/0.791, allocations: 0.5656 MB / 0.7122 GB, free: 12.68 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001651/0.7927, allocations: 0.7845 MB / 0.713 GB, free: 12.03 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003195/0.793, allocations: 237.1 kB / 0.7132 GB, free: 11.76 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001753/0.7932, allocations: 47.91 kB / 0.7132 GB, free: 11.71 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001398/0.7946, allocations: 0.807 MB / 0.714 GB, free: 11.23 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.7961, allocations: 0.8414 MB / 0.7148 GB, free: 10.64 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.7961, allocations: 0 / 0.7148 GB, free: 10.64 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.109e-05/0.7962, allocations: 4 kB / 0.7148 GB, free: 10.64 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.7962, allocations: 16 kB / 0.7149 GB, free: 10.62 MB / 458.7 MB Warning: The model contains alias variables with conflicting start and/or 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.006938/0.8032, allocations: 3.724 MB / 0.7185 GB, free: 7.656 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007318/0.8105, allocations: 2.625 MB / 0.7211 GB, free: 5.281 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009038/0.8115, allocations: 0.5298 MB / 0.7216 GB, free: 4.988 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000123/0.8116, allocations: 16.78 kB / 0.7216 GB, free: 4.969 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001072/0.8127, allocations: 0.6571 MB / 0.7222 GB, free: 4.516 MB / 458.7 MB Notification: Performance of pre-optimization done (n=97): time 2.655e-06/0.8127, allocations: 0 / 0.7222 GB, free: 4.516 MB / 458.7 MB Notification: Performance of matching and sorting (n=97): time 0.01233/0.8251, allocations: 3.957 MB / 0.7261 GB, free: 1.078 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.404e-05/0.8252, allocations: 115.6 kB / 0.7262 GB, free: 0.9414 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.8265, allocations: 0.8438 MB / 0.727 GB, free: 336 kB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002204/0.8267, allocations: 25.7 kB / 0.7271 GB, free: 304 kB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003313/0.827, allocations: 0.5201 MB / 0.7276 GB, free: 16 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004047/0.8275, allocations: 345 kB / 0.7279 GB, free: 15.71 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.204e-05/0.8275, allocations: 0 / 0.7279 GB, free: 15.71 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.8277, allocations: 341.8 kB / 0.7282 GB, free: 15.39 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007185/0.8284, allocations: 452.3 kB / 0.7287 GB, free: 15.16 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007668/0.8292, allocations: 0.5644 MB / 0.7292 GB, free: 14.77 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007528/0.8299, allocations: 0.4951 MB / 0.7297 GB, free: 14.49 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.8299, allocations: 0 / 0.7297 GB, free: 14.49 MB / 474.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.01206/0.842, allocations: 3.973 MB / 0.7336 GB, free: 11.03 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.974e-05/0.8421, allocations: 63.39 kB / 0.7336 GB, free: 10.95 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.8421, allocations: 4 kB / 0.7336 GB, free: 10.95 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005398/0.8475, allocations: 1.514 MB / 0.7351 GB, free: 9.633 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/0.849, allocations: 201.8 kB / 0.7353 GB, free: 9.441 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01392/0.8629, allocations: 6.548 MB / 0.7417 GB, free: 3.453 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001889/0.8649, allocations: 183 kB / 0.7419 GB, free: 3.273 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001548/0.865, allocations: 39.98 kB / 0.7419 GB, free: 3.234 MB / 474.7 MB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "q-axis sub-transient voltage" 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 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 2 * 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 {21 12} Notification: Performance of prepare postOptimizeDAE: time 0.0004008/0.8654, allocations: 163 kB / 0.7421 GB, free: 3.062 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01218/0.8776, allocations: 3.954 MB / 0.7459 GB, free: 15.09 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003795/0.8781, allocations: 126.5 kB / 0.746 GB, free: 14.97 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01208/0.8901, allocations: 4.059 MB / 0.75 GB, free: 10.89 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/0.8902, allocations: 12 kB / 0.75 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.8902, allocations: 8 kB / 0.75 GB, free: 10.87 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.097e-05/0.8902, allocations: 3.984 kB / 0.75 GB, free: 10.86 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01401/0.9043, allocations: 5.549 MB / 0.7555 GB, free: 5.215 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/0.9043, allocations: 3.984 kB / 0.7555 GB, free: 5.211 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006865/0.905, allocations: 103.9 kB / 0.7556 GB, free: 5.109 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004785/0.9098, allocations: 1.473 MB / 0.757 GB, free: 3.629 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001596/0.91, allocations: 11.98 kB / 0.757 GB, free: 3.617 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01337/0.9234, allocations: 7.542 MB / 0.7644 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.9234, allocations: 0 / 0.7644 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01375/0.9372, allocations: 4.816 MB / 0.7691 GB, free: 6.984 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005621/0.9378, allocations: 239.1 kB / 0.7693 GB, free: 6.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001903/0.938, allocations: 4 kB / 0.7693 GB, free: 6.727 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/0.9392, allocations: 131.9 kB / 0.7694 GB, free: 6.598 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005737/0.9398, allocations: 192.9 kB / 0.7696 GB, free: 6.406 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.128e-05/0.9399, allocations: 28 kB / 0.7696 GB, free: 6.379 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0008989/0.9408, allocations: 0.6415 MB / 0.7703 GB, free: 5.73 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9408, allocations: 3.938 kB / 0.7703 GB, free: 5.727 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00129/0.9421, allocations: 399.5 kB / 0.7707 GB, free: 5.336 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(19,24.4%) 13} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0137/0.9558, allocations: 5.474 MB / 0.776 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005245/0.9611, allocations: 2.035 MB / 0.778 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.9611, allocations: 0 / 0.778 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004113/0.9653, allocations: 1.556 MB / 0.7795 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.9664, allocations: 88.47 kB / 0.7796 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004013/0.9705, allocations: 1.976 MB / 0.7815 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007179/0.9712, allocations: 1.151 MB / 0.7826 GB, free: 8.867 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004151/0.9716, allocations: 98.67 kB / 0.7827 GB, free: 8.766 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006314/0.9723, allocations: 475.3 kB / 0.7832 GB, free: 8.301 MB / 0.5105 GB Notification: Performance of SimCode: time 1.112e-06/0.9723, allocations: 0 / 0.7832 GB, free: 8.301 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05853/1.031, allocations: 29.22 MB / 0.8117 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002242/1.031, allocations: 146.3 kB / 0.8119 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.504/4.535, allocations: 0 / 0.8119 GB, free: 10.92 MB / 0.5417 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)