Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.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.Discretization.FourthOrder_AVRII_Discrete,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete",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.0009579/0.0009583, allocations: 176.2 kB / 7.649 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.253/1.253, allocations: 221.5 MB / 229.6 MB, free: 7.594 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.0009102/0.0009102, allocations: 85.88 kB / 280.5 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4753/0.4753, allocations: 78.95 MB / 410.2 MB, free: 6.031 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.565e-05/1.568e-05, allocations: 0 / 486 MB, free: 11.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1193, allocations: 69.51 MB / 0.5425 GB, free: 5.824 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3498/0.4691, allocations: 97.66 MB / 0.6379 GB, free: 316 kB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/0.4695, allocations: 85.45 kB / 0.638 GB, free: 232 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09095/0.5604, allocations: 32.97 MB / 0.6702 GB, free: 15.25 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.5605, allocations: 0 / 0.6702 GB, free: 15.25 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001001/0.5606, allocations: 20 kB / 0.6702 GB, free: 15.23 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.004539/0.5651, allocations: 1.573 MB / 0.6717 GB, free: 13.61 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.5652, allocations: 8.031 kB / 0.6717 GB, free: 13.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00346/0.5686, allocations: 0.5526 MB / 0.6723 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001433/0.5701, allocations: 0.7044 MB / 0.673 GB, free: 12.29 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003032/0.5704, allocations: 244.2 kB / 0.6732 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001895/0.5706, allocations: 47.89 kB / 0.6732 GB, free: 11.97 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001443/0.5721, allocations: 0.7576 MB / 0.674 GB, free: 11.21 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001762/0.5738, allocations: 0.8855 MB / 0.6749 GB, free: 10.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.5739, allocations: 0 / 0.6749 GB, free: 10.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.838e-05/0.574, allocations: 0 / 0.6749 GB, free: 10.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.204e-05/0.574, allocations: 20 kB / 0.6749 GB, free: 10.28 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.006566/0.5806, allocations: 3.42 MB / 0.6782 GB, free: 6.684 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007177/0.5878, allocations: 2.538 MB / 0.6807 GB, free: 4.055 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009113/0.5887, allocations: 498.1 kB / 0.6812 GB, free: 3.566 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001392/0.5889, allocations: 16.72 kB / 0.6812 GB, free: 3.551 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.193e-05/0.5889, allocations: 51.33 kB / 0.6812 GB, free: 3.492 MB / 490.7 MB Notification: Performance of pre-optimization done (n=92): time 2.915e-06/0.5889, allocations: 0 / 0.6812 GB, free: 3.492 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.01231/0.6012, allocations: 3.846 MB / 0.685 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/0.6014, allocations: 93.88 kB / 0.6851 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001458/0.6029, allocations: 0.7209 MB / 0.6858 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002139/0.6031, allocations: 33.7 kB / 0.6858 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004086/0.6035, allocations: 472.8 kB / 0.6863 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004507/0.604, allocations: 295.6 kB / 0.6865 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.66e-05/0.6041, allocations: 0 / 0.6865 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.6042, allocations: 341.9 kB / 0.6869 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006517/0.6049, allocations: 370.6 kB / 0.6872 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008013/0.6057, allocations: 0.5428 MB / 0.6878 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007455/0.6064, allocations: 434.7 kB / 0.6882 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.6064, allocations: 0 / 0.6882 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.01186/0.6183, allocations: 3.817 MB / 0.6919 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.6184, allocations: 4 kB / 0.6919 GB, free: 8.406 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.6184, allocations: 8 kB / 0.6919 GB, free: 8.398 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005102/0.6235, allocations: 1.445 MB / 0.6933 GB, free: 6.949 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007189/0.6242, allocations: 147.8 kB / 0.6935 GB, free: 6.805 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0132/0.6374, allocations: 6.38 MB / 0.6997 GB, free: 304 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.6388, allocations: 147.3 kB / 0.6998 GB, free: 156 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001579/0.639, allocations: 40.69 kB / 0.6999 GB, free: 116 kB / 0.4948 GB 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: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * 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 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003718/0.6394, allocations: 136.2 kB / 0.7 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0117/0.6511, allocations: 3.854 MB / 0.7038 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003561/0.6515, allocations: 118.6 kB / 0.7039 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01111/0.6626, allocations: 3.763 MB / 0.7075 GB, free: 8.211 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/0.6626, allocations: 8 kB / 0.7076 GB, free: 8.203 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.495e-05/0.6627, allocations: 11.98 kB / 0.7076 GB, free: 8.191 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/0.6627, allocations: 4.828 kB / 0.7076 GB, free: 8.188 MB / 0.5105 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.01293/0.6756, allocations: 5.079 MB / 0.7125 GB, free: 3.008 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/0.6757, allocations: 2.812 kB / 0.7125 GB, free: 3.008 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005926/0.6763, allocations: 111.9 kB / 0.7126 GB, free: 2.898 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004587/0.6809, allocations: 1.446 MB / 0.7141 GB, free: 1.445 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001113/0.681, allocations: 8 kB / 0.7141 GB, free: 1.438 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01347/0.6945, allocations: 8.681 MB / 0.7225 GB, free: 8.453 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.6945, allocations: 0 / 0.7225 GB, free: 8.453 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01301/0.7075, allocations: 4.622 MB / 0.7271 GB, free: 3.801 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004163/0.708, allocations: 216.6 kB / 0.7273 GB, free: 3.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000278/0.7082, allocations: 4 kB / 0.7273 GB, free: 3.566 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/0.7094, allocations: 111.8 kB / 0.7274 GB, free: 3.457 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004974/0.7099, allocations: 168.6 kB / 0.7275 GB, free: 3.293 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.574e-05/0.71, allocations: 31.98 kB / 0.7276 GB, free: 3.262 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008703/0.7109, allocations: 0.5567 MB / 0.7281 GB, free: 2.695 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7109, allocations: 0 / 0.7281 GB, free: 2.695 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001422/0.7123, allocations: 359.5 kB / 0.7284 GB, free: 2.344 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 59 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(20,23.0%) 12} * Non-linear torn systems: 1 {3 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0132/0.7255, allocations: 5.287 MB / 0.7336 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00454/0.7301, allocations: 1.765 MB / 0.7353 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.7301, allocations: 0 / 0.7353 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003644/0.7338, allocations: 1.27 MB / 0.7366 GB, free: 9.957 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/0.7352, allocations: 325.7 kB / 0.7369 GB, free: 9.629 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003917/0.7391, allocations: 1.674 MB / 0.7385 GB, free: 7.922 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000639/0.7398, allocations: 1.096 MB / 0.7396 GB, free: 6.801 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003177/0.7401, allocations: 81.92 kB / 0.7397 GB, free: 6.719 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000538/0.7407, allocations: 415.3 kB / 0.7401 GB, free: 6.312 MB / 0.5417 GB Notification: Performance of SimCode: time 2.044e-06/0.7407, allocations: 0 / 0.7401 GB, free: 6.312 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2915/1.032, allocations: 26.01 MB / 0.7655 GB, free: 148.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000144/1.032, allocations: 165.6 kB / 0.7656 GB, free: 148.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.607/3.639, allocations: 0.6562 kB / 0.7656 GB, free: 148.4 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=0.001 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1)