Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.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.ThreeArea.FourthOrder_AVRIII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRIII",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.009429/0.009429, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.37/1.37, allocations: 223.2 MB / 239 MB, free: 84 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 91.31 kB / 290.2 MB, free: 4.551 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5248/0.5248, allocations: 79.43 MB / 420.7 MB, free: 36.33 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004069/0.0004069, allocations: 16 kB / 0.4891 GB, free: 6.246 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1394, allocations: 69.51 MB / 0.557 GB, free: 0.6797 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4174/0.5568, allocations: 99.35 MB / 0.654 GB, free: 1.816 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/0.5571, allocations: 80.47 kB / 0.6541 GB, free: 1.738 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1623/0.7195, allocations: 62.27 MB / 0.7149 GB, free: 3.344 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.234e-06/0.7195, allocations: 0 / 0.7149 GB, free: 3.344 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002805/0.7198, allocations: 52 kB / 0.715 GB, free: 3.293 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 487 * Number of variables: 487 Notification: Performance of Generate backend data structure: time 0.01453/0.7343, allocations: 4.213 MB / 0.7191 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.7344, allocations: 12.03 kB / 0.7191 GB, free: 15 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001111/0.7355, allocations: 286.3 kB / 0.7194 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01038/0.7459, allocations: 1.58 MB / 0.7209 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004501/0.7505, allocations: 1.483 MB / 0.7224 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008079/0.7513, allocations: 0.6825 MB / 0.723 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00105/0.7524, allocations: 195.9 kB / 0.7232 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008317/0.7607, allocations: 3.07 MB / 0.7262 GB, free: 7.516 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.978e-05/0.7608, allocations: 1.594 kB / 0.7262 GB, free: 7.516 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005742/0.7614, allocations: 76 kB / 0.7263 GB, free: 7.441 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.338e-05/0.7615, allocations: 51.95 kB / 0.7263 GB, free: 7.391 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006903/0.7684, allocations: 2.865 MB / 0.7291 GB, free: 4.523 MB / 0.5105 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 preOpt removeSimpleEquations (simulation): time 0.02294/0.7914, allocations: 9.63 MB / 0.7385 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01175/0.8032, allocations: 4.775 MB / 0.7432 GB, free: 5.57 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005283/0.8037, allocations: 37.95 kB / 0.7432 GB, free: 5.535 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.483e-05/0.8038, allocations: 56.56 kB / 0.7433 GB, free: 5.473 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=228): time 4.358e-06/0.8038, allocations: 0 / 0.7433 GB, free: 5.473 MB / 0.5261 GB Notification: Performance of matching and sorting (n=228): time 0.1027/0.9066, allocations: 28.56 MB / 0.7712 GB, free: 8.848 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.641e-05/0.9067, allocations: 132.8 kB / 0.7713 GB, free: 8.695 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003972/0.9107, allocations: 1.645 MB / 0.7729 GB, free: 7.035 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001034/0.9118, allocations: 61.7 kB / 0.773 GB, free: 6.969 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00127/0.9131, allocations: 1.136 MB / 0.7741 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00189/0.915, allocations: 0.7776 MB / 0.7748 GB, free: 5.031 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007029/0.9157, allocations: 44 kB / 0.7749 GB, free: 4.988 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0003192/0.916, allocations: 382.2 kB / 0.7753 GB, free: 4.609 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004543/0.9206, allocations: 1.798 MB / 0.777 GB, free: 2.809 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004555/0.9252, allocations: 2.099 MB / 0.7791 GB, free: 0.6016 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004727/0.9299, allocations: 1.925 MB / 0.7809 GB, free: 14.67 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-05/0.93, allocations: 0 / 0.7809 GB, free: 14.67 MB / 0.573 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.04308/0.9731, allocations: 14.11 MB / 0.7947 GB, free: 0.5352 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.3153/1.288, allocations: 2.72 MB / 0.7974 GB, free: 119 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.112e-05/1.289, allocations: 11.09 kB / 0.7974 GB, free: 119 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02043/1.309, allocations: 6.443 MB / 0.8037 GB, free: 119 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001945/1.311, allocations: 317.8 kB / 0.804 GB, free: 119 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06942/1.38, allocations: 26.45 MB / 0.8298 GB, free: 117.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003895/1.384, allocations: 497.2 kB / 0.8303 GB, free: 117.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004576/1.385, allocations: 80.7 kB / 0.8304 GB, free: 117.4 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/1.385, allocations: 3.125 kB / 0.8304 GB, free: 117.4 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04198/1.427, allocations: 13.78 MB / 0.8438 GB, free: 116.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-05/1.427, allocations: 6.594 kB / 0.8438 GB, free: 116.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01972/1.447, allocations: 6.441 MB / 0.8501 GB, free: 116.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001672/1.448, allocations: 311.2 kB / 0.8504 GB, free: 116.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06413/1.513, allocations: 26.44 MB / 0.8762 GB, free: 108.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003776/1.516, allocations: 474.5 kB / 0.8767 GB, free: 108 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005758/1.517, allocations: 73.22 kB / 0.8768 GB, free: 108 MB / 0.573 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 fixed = true ) "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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (186): * Single equations (assignments): 185 * Array equations: 0 * Algorithm blocks: 0 * 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.001887/1.519, allocations: 499.7 kB / 0.8772 GB, free: 107.7 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00097/1.52, allocations: 272.8 kB / 0.8775 GB, free: 107.5 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0396/1.559, allocations: 14.27 MB / 0.8914 GB, free: 104.3 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.082e-05/1.56, allocations: 24 kB / 0.8915 GB, free: 104.3 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-05/1.56, allocations: 19.14 kB / 0.8915 GB, free: 104.3 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.599e-05/1.56, allocations: 16.3 kB / 0.8915 GB, free: 104.3 MB / 0.573 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.04907/1.609, allocations: 17.77 MB / 0.9088 GB, free: 90.76 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.43e-05/1.609, allocations: 3.953 kB / 0.9088 GB, free: 90.76 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001834/1.611, allocations: 255.8 kB / 0.9091 GB, free: 90.55 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0175/1.628, allocations: 6.041 MB / 0.915 GB, free: 85.86 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007212/1.629, allocations: 40 kB / 0.915 GB, free: 85.82 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05369/1.683, allocations: 22.67 MB / 0.9372 GB, free: 66.47 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/1.683, allocations: 4 kB / 0.9372 GB, free: 66.47 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04502/1.728, allocations: 16.8 MB / 0.9536 GB, free: 52.92 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/1.729, allocations: 382 kB / 0.9539 GB, free: 52.58 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001185/1.73, allocations: 44 kB / 0.954 GB, free: 52.54 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003468/1.734, allocations: 362 kB / 0.9543 GB, free: 52.26 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002256/1.736, allocations: 0.5492 MB / 0.9549 GB, free: 51.96 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004521/1.736, allocations: 52 kB / 0.9549 GB, free: 51.91 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002242/1.739, allocations: 1.267 MB / 0.9562 GB, free: 50.84 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.11e-07/1.739, allocations: 0 / 0.9562 GB, free: 50.84 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.007393/1.746, allocations: 1.696 MB / 0.9578 GB, free: 49.21 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 15 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 0 * 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 {(64,8.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04712/1.793, allocations: 17.69 MB / 0.9751 GB, free: 32.31 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03284/1.826, allocations: 11.3 MB / 0.9861 GB, free: 21.02 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/1.826, allocations: 0 / 0.9861 GB, free: 21.02 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01369/1.84, allocations: 4.594 MB / 0.9906 GB, free: 16.41 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002343/1.842, allocations: 188.4 kB / 0.9908 GB, free: 16.23 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01527/1.858, allocations: 11.49 MB / 1.002 GB, free: 4.453 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001606/1.859, allocations: 1.782 MB / 1.004 GB, free: 2.641 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001457/1.861, allocations: 206.8 kB / 1.004 GB, free: 2.441 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001433/1.862, allocations: 1.069 MB / 1.005 GB, free: 1.379 MB / 0.573 GB Notification: Performance of SimCode: time 6.81e-07/1.862, allocations: 0 / 1.005 GB, free: 1.379 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.42/2.282, allocations: 91.24 MB / 1.094 GB, free: 131.4 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/2.282, allocations: 213.6 kB / 1.094 GB, free: 131.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.429/7.711, allocations: 7.172 kB / 1.094 GB, free: 131.2 MB / 0.5886 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRIII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe 2>&1)