Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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.TwoAreaOld.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_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.0009569/0.0009569, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.168/1.168, allocations: 221.4 MB / 234.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008606/0.0008607, allocations: 94.75 kB / 285.6 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4326/0.4326, allocations: 78.9 MB / 415.4 MB, free: 10.24 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.007e-05/3.021e-05, allocations: 4 kB / 492.9 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3058, allocations: 69.51 MB / 0.5492 GB, free: 19.47 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1181/0.424, allocations: 99.08 MB / 0.646 GB, free: 0.5156 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001953/0.4242, allocations: 79.94 kB / 0.646 GB, free: 448 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3635/0.7877, allocations: 35.72 MB / 0.6809 GB, free: 105.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.7877, allocations: 0.9375 kB / 0.6809 GB, free: 105.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001339/0.7879, allocations: 24.14 kB / 0.681 GB, free: 105.9 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.004618/0.7925, allocations: 1.684 MB / 0.6826 GB, free: 105.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.7926, allocations: 16.91 kB / 0.6826 GB, free: 105.1 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003068/0.7929, allocations: 123.6 kB / 0.6827 GB, free: 105.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003541/0.7964, allocations: 0.557 MB / 0.6833 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001582/0.798, allocations: 0.7825 MB / 0.684 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002147/0.7982, allocations: 235.1 kB / 0.6843 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/0.7984, allocations: 74.5 kB / 0.6843 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.8, allocations: 0.938 MB / 0.6853 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.8, allocations: 0.6562 kB / 0.6853 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.558e-05/0.8001, allocations: 29.28 kB / 0.6853 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/0.8001, allocations: 21.31 kB / 0.6853 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001483/0.8016, allocations: 0.8368 MB / 0.6861 GB, free: 104.4 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.006729/0.8084, allocations: 3.874 MB / 0.6899 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006314/0.8147, allocations: 2.601 MB / 0.6924 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006675/0.8154, allocations: 0.537 MB / 0.693 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001002/0.8155, allocations: 23.05 kB / 0.693 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.8155, allocations: 42.22 kB / 0.693 GB, free: 102.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 2.865e-06/0.8155, allocations: 1.969 kB / 0.693 GB, free: 102.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.01053/0.8261, allocations: 3.892 MB / 0.6968 GB, free: 101.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.8261, allocations: 140.9 kB / 0.697 GB, free: 101.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.8271, allocations: 0.8799 MB / 0.6978 GB, free: 101.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.492e-05/0.8272, allocations: 41.61 kB / 0.6979 GB, free: 101.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002512/0.8275, allocations: 0.5019 MB / 0.6984 GB, free: 100.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002445/0.8277, allocations: 331.6 kB / 0.6987 GB, free: 100.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.127e-05/0.8278, allocations: 15.88 kB / 0.6987 GB, free: 100.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.609e-05/0.8279, allocations: 352 kB / 0.699 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006419/0.8285, allocations: 439.5 kB / 0.6994 GB, free: 100.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006977/0.8292, allocations: 0.5627 MB / 0.7 GB, free: 99.82 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007182/0.83, allocations: 0.5388 MB / 0.7005 GB, free: 99.54 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.83, allocations: 0 / 0.7005 GB, free: 99.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0106/0.8406, allocations: 4.048 MB / 0.7045 GB, free: 98.64 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000221/0.8408, allocations: 1.204 MB / 0.7056 GB, free: 97.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.8408, allocations: 3.719 kB / 0.7057 GB, free: 97.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004529/0.8454, allocations: 1.488 MB / 0.7071 GB, free: 97.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000708/0.8461, allocations: 169.4 kB / 0.7073 GB, free: 96.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01173/0.8578, allocations: 6.516 MB / 0.7136 GB, free: 91.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.8592, allocations: 196 kB / 0.7138 GB, free: 90.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.742e-05/0.8593, allocations: 31.66 kB / 0.7138 GB, free: 90.89 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.306e-06/0.8593, allocations: 4 kB / 0.7138 GB, free: 90.88 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01023/0.8696, allocations: 3.93 MB / 0.7177 GB, free: 87.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.8696, allocations: 7.875 kB / 0.7177 GB, free: 87.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004256/0.8739, allocations: 1.482 MB / 0.7191 GB, free: 86.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006625/0.8745, allocations: 158.3 kB / 0.7193 GB, free: 86.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0111/0.8857, allocations: 6.519 MB / 0.7257 GB, free: 80.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.887, allocations: 183.3 kB / 0.7258 GB, free: 80.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.692e-05/0.8871, allocations: 36.02 kB / 0.7259 GB, free: 80.36 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(start = order4.delta0 unit = "rad" ) "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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 84 * 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 {20 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002612/0.8874, allocations: 194.8 kB / 0.7261 GB, free: 80.16 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003064/0.8877, allocations: 122.5 kB / 0.7262 GB, free: 80.04 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01017/0.8978, allocations: 4.001 MB / 0.7301 GB, free: 76.14 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.8979, allocations: 8 kB / 0.7301 GB, free: 76.13 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.8979, allocations: 8 kB / 0.7301 GB, free: 76.12 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.8979, allocations: 3.984 kB / 0.7301 GB, free: 76.12 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.01204/0.9099, allocations: 5.626 MB / 0.7356 GB, free: 70.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.91, allocations: 7.844 kB / 0.7356 GB, free: 70.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000578/0.9105, allocations: 119.8 kB / 0.7357 GB, free: 70.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003927/0.9145, allocations: 1.402 MB / 0.7371 GB, free: 68.88 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.97e-05/0.9146, allocations: 23.98 kB / 0.7371 GB, free: 68.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009889/0.9245, allocations: 5.724 MB / 0.7427 GB, free: 63 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.9245, allocations: 4 kB / 0.7427 GB, free: 62.99 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01092/0.9354, allocations: 4.725 MB / 0.7473 GB, free: 58.23 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004138/0.9359, allocations: 223.3 kB / 0.7475 GB, free: 58 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002816/0.9362, allocations: 20 kB / 0.7475 GB, free: 57.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/0.9374, allocations: 135.9 kB / 0.7477 GB, free: 57.84 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000408/0.9378, allocations: 184.4 kB / 0.7478 GB, free: 57.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.307e-05/0.9379, allocations: 28 kB / 0.7479 GB, free: 57.64 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000879/0.9388, allocations: 0.6776 MB / 0.7485 GB, free: 56.95 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.9388, allocations: 0 / 0.7485 GB, free: 56.95 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001875/0.9406, allocations: 0.6748 MB / 0.7492 GB, free: 56.27 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeIchange1_1.firstOrder.y,aVRTypeIchange1_1.firstOrder2.y,aVRTypeIchange1_1.transferFunction.x_scaled[1],aVRTypeIchange1_1.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 65 * 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 {(18,25.9%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01119/0.9518, allocations: 5.376 MB / 0.7544 GB, free: 50.86 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007698/0.9596, allocations: 3.63 MB / 0.758 GB, free: 47.16 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.9596, allocations: 0.75 kB / 0.758 GB, free: 47.16 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003147/0.9627, allocations: 1.417 MB / 0.7594 GB, free: 45.73 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008871/0.9636, allocations: 105 kB / 0.7595 GB, free: 45.62 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00378/0.9674, allocations: 1.991 MB / 0.7614 GB, free: 43.61 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004987/0.9679, allocations: 1.158 MB / 0.7626 GB, free: 42.43 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008026/0.9688, allocations: 197.3 kB / 0.7627 GB, free: 42.23 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004371/0.9692, allocations: 451.3 kB / 0.7632 GB, free: 41.79 MB / 490.7 MB Notification: Performance of SimCode: time 5.11e-07/0.9692, allocations: 0 / 0.7632 GB, free: 41.79 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05385/1.023, allocations: 37.8 MB / 0.8001 GB, free: 4.527 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001363/1.023, allocations: 188 kB / 0.8003 GB, free: 4.305 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.945/3.968, allocations: 1.969 kB / 0.8003 GB, free: 4.305 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRI.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe 2>&1)