Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,fileNamePrefix="OpenIPSL_release_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.0009636/0.0009637, allocations: 173.9 kB / 7.648 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.288/1.288, allocations: 221.5 MB / 229.6 MB, free: 7.562 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.0008607/0.0008606, allocations: 89.73 kB / 280.5 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5229/0.5229, allocations: 78.12 MB / 409.4 MB, free: 6.461 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.64e-05/1.639e-05, allocations: 7.938 kB / 485.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1326, allocations: 69.36 MB / 0.5414 GB, free: 6.844 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3885/0.5212, allocations: 96.97 MB / 0.6361 GB, free: 2.602 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.5215, allocations: 78.88 kB / 0.6362 GB, free: 2.527 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08863/0.6101, allocations: 32.36 MB / 0.6678 GB, free: 2.137 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.6101, allocations: 0 / 0.6678 GB, free: 2.137 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.171e-05/0.6102, allocations: 20 kB / 0.6678 GB, free: 2.117 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.003811/0.614, allocations: 1.589 MB / 0.6694 GB, free: 496 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.6141, allocations: 8.031 kB / 0.6694 GB, free: 488 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003229/0.6173, allocations: 0.5448 MB / 0.6699 GB, free: 15.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.6185, allocations: 0.7083 MB / 0.6706 GB, free: 15.17 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002737/0.6188, allocations: 240.2 kB / 0.6708 GB, free: 14.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.6189, allocations: 47.89 kB / 0.6709 GB, free: 14.85 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001318/0.6202, allocations: 0.7538 MB / 0.6716 GB, free: 14.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.6218, allocations: 0.8876 MB / 0.6725 GB, free: 13.19 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.6218, allocations: 0 / 0.6725 GB, free: 13.19 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.973e-05/0.6219, allocations: 4 kB / 0.6725 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.6219, allocations: 16 kB / 0.6725 GB, free: 13.17 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.005496/0.6274, allocations: 3.393 MB / 0.6758 GB, free: 9.594 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007249/0.6347, allocations: 2.537 MB / 0.6783 GB, free: 6.965 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007804/0.6355, allocations: 0.489 MB / 0.6788 GB, free: 6.477 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001083/0.6356, allocations: 20.75 kB / 0.6788 GB, free: 6.457 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.6356, allocations: 47.34 kB / 0.6788 GB, free: 6.402 MB / 490.7 MB Notification: Performance of pre-optimization done (n=92): time 4.308e-06/0.6357, allocations: 0 / 0.6788 GB, free: 6.402 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.01198/0.6476, allocations: 3.856 MB / 0.6826 GB, free: 2.527 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.6478, allocations: 94.77 kB / 0.6827 GB, free: 2.418 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.649, allocations: 0.7171 MB / 0.6834 GB, free: 1.684 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001607/0.6492, allocations: 30.36 kB / 0.6834 GB, free: 1.648 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003512/0.6495, allocations: 484.7 kB / 0.6839 GB, free: 1.168 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003059/0.6498, allocations: 287.7 kB / 0.6842 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.779e-05/0.6499, allocations: 0 / 0.6842 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.65, allocations: 337.9 kB / 0.6845 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005903/0.6506, allocations: 378.6 kB / 0.6848 GB, free: 184 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007004/0.6513, allocations: 0.538 MB / 0.6854 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006762/0.652, allocations: 435.5 kB / 0.6858 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.652, allocations: 0 / 0.6858 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.01161/0.6636, allocations: 3.817 MB / 0.6895 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.6637, allocations: 8 kB / 0.6895 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.6638, allocations: 4 kB / 0.6895 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004922/0.6687, allocations: 1.441 MB / 0.6909 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007265/0.6694, allocations: 151.8 kB / 0.6911 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01249/0.6819, allocations: 6.385 MB / 0.6973 GB, free: 3.195 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/0.6834, allocations: 152.2 kB / 0.6974 GB, free: 3.047 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.561e-05/0.6835, allocations: 31.98 kB / 0.6975 GB, free: 3.016 MB / 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.0003329/0.6838, allocations: 139.5 kB / 0.6976 GB, free: 2.875 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01178/0.6956, allocations: 3.841 MB / 0.7014 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005308/0.6962, allocations: 122.6 kB / 0.7015 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01156/0.7077, allocations: 3.767 MB / 0.7052 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.96e-05/0.7078, allocations: 8 kB / 0.7052 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/0.7078, allocations: 10.88 kB / 0.7052 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.653e-05/0.7078, allocations: 3.984 kB / 0.7052 GB, free: 11.09 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.0131/0.7209, allocations: 5.073 MB / 0.7101 GB, free: 5.922 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/0.721, allocations: 0 / 0.7101 GB, free: 5.922 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006857/0.7217, allocations: 111.9 kB / 0.7102 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004835/0.7265, allocations: 1.442 MB / 0.7116 GB, free: 4.363 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001787/0.7267, allocations: 7.938 kB / 0.7117 GB, free: 4.355 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01396/0.7407, allocations: 8.7 MB / 0.7202 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.85e-06/0.7408, allocations: 0 / 0.7202 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01365/0.7544, allocations: 4.623 MB / 0.7247 GB, free: 6.707 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005167/0.755, allocations: 211.4 kB / 0.7249 GB, free: 6.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004656/0.7555, allocations: 6.625 kB / 0.7249 GB, free: 6.477 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/0.7568, allocations: 111.9 kB / 0.725 GB, free: 6.367 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005596/0.7574, allocations: 168.5 kB / 0.7251 GB, free: 6.203 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001241/0.7576, allocations: 24 kB / 0.7252 GB, free: 6.18 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009473/0.7585, allocations: 0.5567 MB / 0.7257 GB, free: 5.613 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7585, allocations: 0 / 0.7257 GB, free: 5.613 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001638/0.7602, allocations: 363.5 kB / 0.7261 GB, free: 5.258 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 {(19,24.4%) 13} * Non-linear torn systems: 1 {3 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.01341/0.7736, allocations: 5.286 MB / 0.7312 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004537/0.7782, allocations: 1.755 MB / 0.7329 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.7782, allocations: 4.125 kB / 0.7329 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003526/0.7817, allocations: 1.265 MB / 0.7342 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/0.7832, allocations: 322.6 kB / 0.7345 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003664/0.7869, allocations: 1.689 MB / 0.7361 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005561/0.7875, allocations: 1.1 MB / 0.7372 GB, free: 9.711 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003172/0.7878, allocations: 81.92 kB / 0.7373 GB, free: 9.629 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004737/0.7883, allocations: 415.3 kB / 0.7377 GB, free: 9.223 MB / 0.5417 GB Notification: Performance of SimCode: time 8.32e-07/0.7883, allocations: 0 / 0.7377 GB, free: 9.223 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3423/1.131, allocations: 26.02 MB / 0.7631 GB, free: 147.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001555/1.131, allocations: 167.4 kB / 0.7632 GB, free: 147.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.714/3.845, allocations: 0.875 kB / 0.7632 GB, free: 147.1 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=0.001 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1)