Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.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_Continuous,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous",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.001407/0.001407, allocations: 180.9 kB / 7.651 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.334/1.334, allocations: 221.5 MB / 229.6 MB, free: 7.578 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.0008084/0.0008084, allocations: 93.38 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4617/0.4617, allocations: 78.11 MB / 409.4 MB, free: 6.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.165e-05/2.173e-05, allocations: 7.875 kB / 485.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1375, allocations: 69.36 MB / 0.5414 GB, free: 6.859 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4231/0.5607, allocations: 98.16 MB / 0.6373 GB, free: 1.504 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/0.561, allocations: 81.36 kB / 0.6373 GB, free: 1.426 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09944/0.6604, allocations: 36.02 MB / 0.6725 GB, free: 13.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.6605, allocations: 4 kB / 0.6725 GB, free: 13.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.234e-05/0.6606, allocations: 20 kB / 0.6726 GB, free: 13.38 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.004495/0.6651, allocations: 1.71 MB / 0.6742 GB, free: 11.61 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.6651, allocations: 8.031 kB / 0.6742 GB, free: 11.61 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003535/0.6687, allocations: 0.5608 MB / 0.6748 GB, free: 11.04 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001534/0.6702, allocations: 0.7879 MB / 0.6755 GB, free: 10.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002706/0.6705, allocations: 236.2 kB / 0.6758 GB, free: 9.934 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.6707, allocations: 47.91 kB / 0.6758 GB, free: 9.887 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001443/0.6721, allocations: 0.7967 MB / 0.6766 GB, free: 9.09 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001556/0.6737, allocations: 0.8329 MB / 0.6774 GB, free: 8.246 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.6737, allocations: 1.594 kB / 0.6774 GB, free: 8.246 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.169e-05/0.6738, allocations: 7.922 kB / 0.6774 GB, free: 8.238 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.642e-05/0.6738, allocations: 20 kB / 0.6774 GB, free: 8.219 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.006717/0.6806, allocations: 3.648 MB / 0.681 GB, free: 4.402 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007507/0.6881, allocations: 2.627 MB / 0.6836 GB, free: 1.676 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00108/0.6892, allocations: 0.5123 MB / 0.6841 GB, free: 1.16 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001146/0.6894, allocations: 16.75 kB / 0.6841 GB, free: 1.145 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001078/0.6904, allocations: 0.6488 MB / 0.6847 GB, free: 488 kB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 3.046e-06/0.6905, allocations: 0 / 0.6847 GB, free: 488 kB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.01293/0.7034, allocations: 3.919 MB / 0.6885 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.137e-05/0.7035, allocations: 123.6 kB / 0.6887 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001458/0.705, allocations: 0.8028 MB / 0.6894 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002513/0.7052, allocations: 25.7 kB / 0.6895 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003652/0.7056, allocations: 0.5243 MB / 0.69 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000369/0.706, allocations: 323.1 kB / 0.6903 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.048e-05/0.7061, allocations: 5.219 kB / 0.6903 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.7062, allocations: 345.9 kB / 0.6906 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007251/0.707, allocations: 438.6 kB / 0.691 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007856/0.7078, allocations: 0.5575 MB / 0.6916 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007717/0.7085, allocations: 498.1 kB / 0.6921 GB, free: 8.836 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.7085, allocations: 0 / 0.6921 GB, free: 8.836 MB / 0.4948 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01279/0.7213, allocations: 3.951 MB / 0.6959 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.919e-05/0.7214, allocations: 63.41 kB / 0.696 GB, free: 4.793 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/0.7215, allocations: 4 kB / 0.696 GB, free: 4.789 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005561/0.727, allocations: 1.502 MB / 0.6974 GB, free: 3.285 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.7282, allocations: 187.8 kB / 0.6976 GB, free: 3.102 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01351/0.7418, allocations: 6.559 MB / 0.704 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/0.7436, allocations: 183 kB / 0.7042 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001539/0.7437, allocations: 41.2 kB / 0.7042 GB, free: 12.21 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 93 * 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 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003913/0.7441, allocations: 158.9 kB / 0.7044 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01278/0.7569, allocations: 3.926 MB / 0.7082 GB, free: 8.102 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004834/0.7574, allocations: 126.5 kB / 0.7084 GB, free: 7.977 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01231/0.7698, allocations: 4.035 MB / 0.7123 GB, free: 3.914 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/0.7698, allocations: 8 kB / 0.7123 GB, free: 3.906 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/0.7698, allocations: 8 kB / 0.7123 GB, free: 3.898 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.282e-05/0.7699, allocations: 15.95 kB / 0.7123 GB, free: 3.883 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.01437/0.7843, allocations: 5.49 MB / 0.7177 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/0.7843, allocations: 3.984 kB / 0.7177 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007374/0.7851, allocations: 95.91 kB / 0.7178 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004986/0.7901, allocations: 1.47 MB / 0.7192 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002217/0.7903, allocations: 10.31 kB / 0.7192 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0135/0.8038, allocations: 7.551 MB / 0.7266 GB, free: 4.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/0.8039, allocations: 4 kB / 0.7266 GB, free: 4.926 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01307/0.817, allocations: 4.769 MB / 0.7313 GB, free: 124 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005387/0.8175, allocations: 227.2 kB / 0.7315 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001943/0.8177, allocations: 8.094 kB / 0.7315 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/0.819, allocations: 132.7 kB / 0.7316 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005643/0.8195, allocations: 193 kB / 0.7318 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.476e-05/0.8196, allocations: 31.94 kB / 0.7318 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008036/0.8204, allocations: 0.6136 MB / 0.7324 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8204, allocations: 0 / 0.7324 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001286/0.8217, allocations: 387.5 kB / 0.7328 GB, free: 14.52 MB / 0.5417 GB 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,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * 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: 2 * 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: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01371/0.8354, allocations: 5.431 MB / 0.7381 GB, free: 9.047 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004931/0.8404, allocations: 2.004 MB / 0.7401 GB, free: 7.012 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.8404, allocations: 0 / 0.7401 GB, free: 7.012 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003863/0.8443, allocations: 1.525 MB / 0.7415 GB, free: 5.457 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008797/0.8452, allocations: 86.62 kB / 0.7416 GB, free: 5.375 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003679/0.8489, allocations: 1.874 MB / 0.7435 GB, free: 3.465 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006155/0.8496, allocations: 1.143 MB / 0.7446 GB, free: 2.297 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004014/0.85, allocations: 98.62 kB / 0.7447 GB, free: 2.195 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005613/0.8505, allocations: 467.3 kB / 0.7451 GB, free: 1.738 MB / 0.5417 GB Notification: Performance of SimCode: time 6.42e-07/0.8505, allocations: 0 / 0.7451 GB, free: 1.738 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3094/1.16, allocations: 28.66 MB / 0.7731 GB, free: 147.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001354/1.16, allocations: 174.4 kB / 0.7733 GB, free: 147.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.778/3.938, allocations: 4 kB / 0.7733 GB, free: 147.7 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1)