Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.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.ThreeArea.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRI",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.001067/0.001068, allocations: 172.5 kB / 7.646 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.687/1.687, allocations: 205.3 MB / 213.4 MB, free: 13.69 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.001045/0.001045, allocations: 83.53 kB / 261.4 MB, free: 13.44 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0733/0.0733, allocations: 12.2 MB / 321.5 MB, free: 1.184 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3158/0.3158, allocations: 78.05 MB / 450.3 MB, free: 3.488 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.065e-05/2.106e-05, allocations: 0 / 0.5142 GB, free: 29.96 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1917, allocations: 69.24 MB / 0.5819 GB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6501/0.8418, allocations: 99.97 MB / 0.6795 GB, free: 8.586 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003287/0.8423, allocations: 80.78 kB / 0.6796 GB, free: 8.547 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1654/1.008, allocations: 63.89 MB / 0.7419 GB, free: 3.703 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.613e-06/1.008, allocations: 0 / 0.7419 GB, free: 3.703 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001626/1.008, allocations: 67.88 kB / 0.742 GB, free: 3.637 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.01186/1.02, allocations: 3.994 MB / 0.7459 GB, free: 15.56 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/1.02, allocations: 8.031 kB / 0.7459 GB, free: 15.55 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009537/1.029, allocations: 1.592 MB / 0.7475 GB, free: 13.95 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003467/1.033, allocations: 1.639 MB / 0.7491 GB, free: 12.25 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006248/1.034, allocations: 0.6163 MB / 0.7497 GB, free: 11.53 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004524/1.034, allocations: 123.9 kB / 0.7498 GB, free: 11.41 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004048/1.038, allocations: 2.211 MB / 0.752 GB, free: 9.191 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004088/1.042, allocations: 2.275 MB / 0.7542 GB, free: 6.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.064e-05/1.042, allocations: 0 / 0.7542 GB, free: 6.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002199/1.042, allocations: 3.984 kB / 0.7542 GB, free: 6.836 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.982e-05/1.042, allocations: 51.94 kB / 0.7542 GB, free: 6.785 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 preOpt removeSimpleEquations (simulation): time 0.01865/1.061, allocations: 9.66 MB / 0.7637 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009257/1.07, allocations: 3.936 MB / 0.7675 GB, free: 8.633 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002378/1.073, allocations: 1.46 MB / 0.7689 GB, free: 7.164 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003005/1.073, allocations: 50.03 kB / 0.769 GB, free: 7.117 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.153e-05/1.073, allocations: 56.56 kB / 0.769 GB, free: 7.051 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=241): time 5.239e-06/1.073, allocations: 0 / 0.769 GB, free: 7.051 MB / 0.4948 GB Notification: Performance of matching and sorting (n=241): time 0.03819/1.111, allocations: 12.07 MB / 0.7808 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/1.112, allocations: 239.5 kB / 0.781 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003296/1.115, allocations: 1.693 MB / 0.7827 GB, free: 8.977 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006992/1.116, allocations: 29.7 kB / 0.7827 GB, free: 8.941 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001034/1.117, allocations: 1.223 MB / 0.7839 GB, free: 7.707 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001195/1.118, allocations: 0.8004 MB / 0.7847 GB, free: 6.895 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/1.118, allocations: 0 / 0.7847 GB, free: 6.895 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002092/1.118, allocations: 394.6 kB / 0.7851 GB, free: 6.504 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002067/1.12, allocations: 1.172 MB / 0.7862 GB, free: 5.328 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002285/1.123, allocations: 1.476 MB / 0.7877 GB, free: 3.75 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002215/1.125, allocations: 1.288 MB / 0.7889 GB, free: 2.43 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/1.125, allocations: 4 kB / 0.7889 GB, free: 2.426 MB / 0.5105 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.03798/1.163, allocations: 12.11 MB / 0.8008 GB, free: 6.25 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.00141/1.164, allocations: 2.868 MB / 0.8036 GB, free: 3.152 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.435e-05/1.164, allocations: 8 kB / 0.8036 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01648/1.181, allocations: 4.852 MB / 0.8083 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002392/1.183, allocations: 379.4 kB / 0.8087 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03969/1.223, allocations: 17.2 MB / 0.8255 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004334/1.227, allocations: 473.8 kB / 0.8259 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004177/1.228, allocations: 79.98 kB / 0.826 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/1.228, allocations: 4 kB / 0.826 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03702/1.265, allocations: 11.79 MB / 0.8375 GB, free: 200 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.849e-05/1.265, allocations: 8 kB / 0.8375 GB, free: 192 kB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01653/1.282, allocations: 4.856 MB / 0.8422 GB, free: 11.32 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00221/1.284, allocations: 359.5 kB / 0.8426 GB, free: 10.97 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3288/1.613, allocations: 17.19 MB / 0.8594 GB, free: 142.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004101/1.617, allocations: 449.9 kB / 0.8598 GB, free: 142.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005729/1.617, allocations: 84.48 kB / 0.8599 GB, free: 142.6 MB / 0.573 GB Warning: Assuming fixed start value for the following 6 variables: order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_1.delta:VARIABLE(start = order3_1.delta0 unit = "rad" ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(start = order2.delta0 unit = "rad" ) "Rotor angle" type: Real order3_2.w:VARIABLE(start = 1.0 ) "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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (206): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 4 * 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 {63 26} Notification: Performance of prepare postOptimizeDAE: time 0.001166/1.619, allocations: 207.9 kB / 0.8601 GB, free: 142.5 MB / 0.573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04311/1.662, allocations: 12.07 MB / 0.8719 GB, free: 142.2 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002302/1.664, allocations: 294 kB / 0.8721 GB, free: 142.1 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04161/1.706, allocations: 12.34 MB / 0.8842 GB, free: 141.9 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001341/1.706, allocations: 31.42 kB / 0.8842 GB, free: 141.8 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001144/1.706, allocations: 17.94 kB / 0.8842 GB, free: 141.8 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001802/1.706, allocations: 18.42 kB / 0.8843 GB, free: 141.8 MB / 0.573 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.04541/1.752, allocations: 15.84 MB / 0.8997 GB, free: 141 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.497e-05/1.752, allocations: 8.016 kB / 0.8997 GB, free: 141 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002068/1.754, allocations: 279.7 kB / 0.9 GB, free: 141 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01456/1.768, allocations: 4.809 MB / 0.9047 GB, free: 140.7 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008644/1.769, allocations: 14.69 kB / 0.9047 GB, free: 140.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03352/1.803, allocations: 15.18 MB / 0.9195 GB, free: 136 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.038e-05/1.803, allocations: 2.812 kB / 0.9195 GB, free: 136 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04084/1.844, allocations: 14.28 MB / 0.9335 GB, free: 127 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001461/1.845, allocations: 407.8 kB / 0.9339 GB, free: 126.7 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001275/1.847, allocations: 8 kB / 0.9339 GB, free: 126.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003816/1.85, allocations: 358.4 kB / 0.9342 GB, free: 126.4 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002098/1.853, allocations: 0.5509 MB / 0.9348 GB, free: 126.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002787/1.853, allocations: 59.14 kB / 0.9348 GB, free: 126.1 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00224/1.855, allocations: 1.267 MB / 0.9361 GB, free: 124.9 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.21e-07/1.855, allocations: 0 / 0.9361 GB, free: 124.9 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006811/1.862, allocations: 1.595 MB / 0.9376 GB, free: 123.4 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.firstOrder.y,Exc1.firstOrder2.y,Exc1.transferFunction.x_scaled[1],Exc1.transferFunction.x_scaled[2],Exc2.firstOrder.y,Exc2.firstOrder2.y,Exc2.transferFunction.x_scaled[1],Exc2.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (162): * Single equations (assignments): 159 * 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: 1 {(65,7.8%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04041/1.902, allocations: 15.02 MB / 0.9523 GB, free: 111 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02954/1.932, allocations: 9.709 MB / 0.9618 GB, free: 102.2 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.344e-05/1.932, allocations: 0.8438 kB / 0.9618 GB, free: 102.2 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01302/1.945, allocations: 3.971 MB / 0.9656 GB, free: 98.73 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003492/1.949, allocations: 200.1 kB / 0.9658 GB, free: 98.56 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01279/1.962, allocations: 4.384 MB / 0.9701 GB, free: 94.67 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001477/1.963, allocations: 1.893 MB / 0.972 GB, free: 93.2 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002074/1.965, allocations: 449.1 kB / 0.9724 GB, free: 92.91 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001228/1.966, allocations: 1.171 MB / 0.9735 GB, free: 91.84 MB / 0.573 GB Notification: Performance of SimCode: time 1.052e-06/1.966, allocations: 0 / 0.9735 GB, free: 91.84 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1584/2.125, allocations: 93.34 MB / 1.065 GB, free: 2.547 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002236/2.125, allocations: 155.2 kB / 1.065 GB, free: 2.348 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.83/7.955, allocations: 4.031 kB / 1.065 GB, free: 2.344 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRI.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe 2>&1)