Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.conf.json 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/Modelica 4.0.0+maint.om/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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 173.9 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 221.5 MB / 229.6 MB, free: 7.59 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008676/0.0008676, allocations: 86.11 kB / 280.5 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4695/0.4695, allocations: 78.94 MB / 410.2 MB, free: 6.035 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.983e-05/1.984e-05, allocations: 7.938 kB / 486 MB, free: 11.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1315, allocations: 69.51 MB / 0.5425 GB, free: 5.844 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3707/0.5022, allocations: 101 MB / 0.6412 GB, free: 12.98 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/0.5025, allocations: 79.95 kB / 0.6412 GB, free: 12.91 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2516/0.7541, allocations: 99.18 MB / 0.7381 GB, free: 9.355 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.983e-06/0.7541, allocations: 0 / 0.7381 GB, free: 9.355 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0003877/0.7545, allocations: 87.94 kB / 0.7382 GB, free: 9.27 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 889 * Number of variables: 889 Notification: Performance of Generate backend data structure: time 0.01881/0.7734, allocations: 5.725 MB / 0.7438 GB, free: 3.469 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.877e-05/0.7734, allocations: 8.031 kB / 0.7438 GB, free: 3.461 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0177/0.7911, allocations: 2.776 MB / 0.7465 GB, free: 0.6758 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006037/0.7972, allocations: 2.27 MB / 0.7487 GB, free: 14.33 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009688/0.7982, allocations: 0.8346 MB / 0.7495 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001222/0.7995, allocations: 200 kB / 0.7497 GB, free: 13.17 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007635/0.8071, allocations: 3.439 MB / 0.7531 GB, free: 9.727 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008413/0.8155, allocations: 3.583 MB / 0.7566 GB, free: 6.113 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.848e-05/0.8156, allocations: 3.938 kB / 0.7566 GB, free: 6.109 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003348/0.816, allocations: 0 / 0.7566 GB, free: 6.109 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-05/0.8161, allocations: 84 kB / 0.7566 GB, free: 6.027 MB / 0.5573 GB 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.3166/1.133, allocations: 18.08 MB / 0.7743 GB, free: 85.67 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008945/1.142, allocations: 4.631 MB / 0.7788 GB, free: 85.24 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003466/1.145, allocations: 2.119 MB / 0.7809 GB, free: 85.21 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004286/1.146, allocations: 69.08 kB / 0.781 GB, free: 85.21 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.606e-05/1.146, allocations: 76.45 kB / 0.781 GB, free: 85.16 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=379): time 5.52e-06/1.146, allocations: 0 / 0.781 GB, free: 85.16 MB / 0.5573 GB Notification: Performance of matching and sorting (n=379): time 0.06288/1.209, allocations: 17.15 MB / 0.7978 GB, free: 84.52 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.16e-05/1.209, allocations: 172.1 kB / 0.7979 GB, free: 84.36 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004053/1.213, allocations: 2.435 MB / 0.8003 GB, free: 84.09 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0009041/1.214, allocations: 25.7 kB / 0.8003 GB, free: 84.05 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001377/1.215, allocations: 2.006 MB / 0.8023 GB, free: 83.62 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001723/1.217, allocations: 1.242 MB / 0.8035 GB, free: 82.97 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002778/1.217, allocations: 0 / 0.8035 GB, free: 82.97 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001769/1.217, allocations: 447.7 kB / 0.8039 GB, free: 82.66 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002726/1.22, allocations: 1.744 MB / 0.8056 GB, free: 82.65 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003115/1.223, allocations: 2.305 MB / 0.8079 GB, free: 82.09 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003108/1.226, allocations: 1.948 MB / 0.8098 GB, free: 82.02 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.642e-05/1.226, allocations: 4.312 kB / 0.8098 GB, free: 82.02 MB / 0.5573 GB Notification: Performance of matching and sorting (n=456) (initialization): time 0.04914/1.275, allocations: 17.25 MB / 0.8266 GB, free: 80.93 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001147/1.277, allocations: 6.67 MB / 0.8332 GB, free: 73.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-05/1.277, allocations: 16.27 kB / 0.8332 GB, free: 73.89 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0216/1.298, allocations: 6.843 MB / 0.8399 GB, free: 73.49 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002801/1.301, allocations: 0.5393 MB / 0.8404 GB, free: 73.49 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05037/1.351, allocations: 25.05 MB / 0.8648 GB, free: 64.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006202/1.358, allocations: 0.6418 MB / 0.8655 GB, free: 64.41 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009436/1.359, allocations: 127.5 kB / 0.8656 GB, free: 64.38 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/1.359, allocations: 3.75 kB / 0.8656 GB, free: 64.38 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0463/1.405, allocations: 16.77 MB / 0.882 GB, free: 59.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.078e-05/1.405, allocations: 12 kB / 0.882 GB, free: 59.69 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02118/1.426, allocations: 6.845 MB / 0.8887 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002766/1.429, allocations: 0.5281 MB / 0.8892 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05043/1.48, allocations: 25.04 MB / 0.9136 GB, free: 31.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006264/1.486, allocations: 0.6072 MB / 0.9142 GB, free: 31.44 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009524/1.487, allocations: 135.6 kB / 0.9144 GB, free: 31.31 MB / 0.5573 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_1.delta:VARIABLE(start = order3_1.delta0 unit = "rad" ) "Rotor angle" 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (320): * Single equations (assignments): 317 * 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 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.00102/1.488, allocations: 199.7 kB / 0.9145 GB, free: 31.14 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04778/1.536, allocations: 17.15 MB / 0.9313 GB, free: 17.69 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002073/1.538, allocations: 454.3 kB / 0.9317 GB, free: 17.24 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04806/1.586, allocations: 17.6 MB / 0.9489 GB, free: 3.668 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.293e-05/1.586, allocations: 36 kB / 0.9489 GB, free: 3.633 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.658e-05/1.586, allocations: 28 kB / 0.949 GB, free: 3.605 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001253/1.586, allocations: 21.33 kB / 0.949 GB, free: 3.605 MB / 0.5573 GB 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.0619/1.648, allocations: 22.59 MB / 0.9711 GB, free: 1.152 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.496e-05/1.648, allocations: 0.75 kB / 0.9711 GB, free: 1.152 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002485/1.651, allocations: 403.5 kB / 0.9714 GB, free: 0.7578 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02208/1.673, allocations: 6.911 MB / 0.9782 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001007/1.674, allocations: 15.98 kB / 0.9782 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3601/2.034, allocations: 22.27 MB / 1 GB, free: 113.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/2.034, allocations: 0 / 1 GB, free: 113.7 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05526/2.089, allocations: 20.44 MB / 1.02 GB, free: 113.1 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001569/2.091, allocations: 0.5552 MB / 1.02 GB, free: 112.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001555/2.093, allocations: 6.125 kB / 1.02 GB, free: 112.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005076/2.098, allocations: 447.3 kB / 1.021 GB, free: 112.7 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003126/2.101, allocations: 0.7626 MB / 1.022 GB, free: 112.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004877/2.101, allocations: 96.47 kB / 1.022 GB, free: 112.7 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002952/2.104, allocations: 1.812 MB / 1.023 GB, free: 112.5 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.61e-07/2.104, allocations: 0 / 1.023 GB, free: 112.5 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01102/2.115, allocations: 2.608 MB / 1.026 GB, free: 112.4 MB / 0.5886 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,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (249): * Single equations (assignments): 247 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(100,5.5%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05912/2.174, allocations: 21.11 MB / 1.047 GB, free: 111 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.03809/2.213, allocations: 13.96 MB / 1.06 GB, free: 109.5 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/2.213, allocations: 0 / 1.06 GB, free: 109.5 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01775/2.23, allocations: 5.836 MB / 1.066 GB, free: 108.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003504/2.234, allocations: 252.5 kB / 1.066 GB, free: 108.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01707/2.251, allocations: 6.337 MB / 1.072 GB, free: 107 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001892/2.253, allocations: 2.593 MB / 1.075 GB, free: 106.1 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.003004/2.256, allocations: 0.6043 MB / 1.076 GB, free: 106 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001838/2.258, allocations: 1.942 MB / 1.077 GB, free: 105.3 MB / 0.5886 GB Notification: Performance of SimCode: time 7.02e-07/2.258, allocations: 1.406 kB / 1.077 GB, free: 105.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5251/2.783, allocations: 138.8 MB / 1.213 GB, free: 102.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001826/2.783, allocations: 140 kB / 1.213 GB, free: 102 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.845/10.63, allocations: 0.7656 kB / 1.213 GB, free: 102 MB / 0.5886 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRI.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe 2>&1)