Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9309/0.9309, allocations: 177.1 MB / 199.4 MB, free: 5.926 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 156.6 kB / 256 MB, free: 13.34 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.2699/0.2699, allocations: 80.37 MB / 392.7 MB, free: 2.375 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.5551 GB, free: 12.46 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.428e-05/1.587e-05, allocations: 2.281 kB / 0.5551 GB, free: 12.45 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.01407/0.01408, allocations: 18.4 MB / 0.573 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01025/0.02434, allocations: 4.838 MB / 0.5778 GB, free: 5.125 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002023/0.02636, allocations: 44 kB / 0.5778 GB, free: 5.082 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001289/0.02765, allocations: 0.871 MB / 0.5787 GB, free: 4.203 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0045/0.03215, allocations: 2.35 MB / 0.581 GB, free: 1.84 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003166/0.03532, allocations: 2.081 MB / 0.583 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.00497/0.04029, allocations: 5.861 MB / 0.5887 GB, free: 9.898 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001004/0.04129, allocations: 0.8649 MB / 0.5896 GB, free: 8.98 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002589/0.04388, allocations: 3.304 MB / 0.5928 GB, free: 5.668 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002183/0.04606, allocations: 2.262 MB / 0.595 GB, free: 3.398 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.000449/0.04651, allocations: 436 kB / 0.5954 GB, free: 2.973 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007167/0.04723, allocations: 0.5896 MB / 0.596 GB, free: 2.383 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0006211/0.04785, allocations: 1.178 MB / 0.5971 GB, free: 1.199 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.3063/0.3541, allocations: 1.718 MB / 0.5988 GB, free: 64.37 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.006922/0.361, allocations: 6.324 MB / 0.605 GB, free: 63.96 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 9.758e-06/0.3611, allocations: 1.344 kB / 0.605 GB, free: 63.96 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3611, allocations: 0 / 0.605 GB, free: 63.96 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002118/0.3613, allocations: 0 / 0.605 GB, free: 63.96 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.01987/0.3811, allocations: 9.836 MB / 0.6146 GB, free: 61.33 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001133/0.3813, allocations: 9.844 kB / 0.6146 GB, free: 61.33 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007249/0.382, allocations: 489.4 kB / 0.6151 GB, free: 61.27 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01506/0.397, allocations: 4.051 MB / 0.619 GB, free: 60.87 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004843/0.4019, allocations: 2.568 MB / 0.6215 GB, free: 60.02 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006856/0.4026, allocations: 1.037 MB / 0.6225 GB, free: 59.23 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006462/0.4032, allocations: 348.6 kB / 0.6229 GB, free: 59.23 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007649/0.4109, allocations: 4.753 MB / 0.6275 GB, free: 57.88 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.174e-05/0.4109, allocations: 1.094 kB / 0.6275 GB, free: 57.88 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003371/0.4112, allocations: 142.4 kB / 0.6277 GB, free: 57.77 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000128/0.4114, allocations: 83.25 kB / 0.6277 GB, free: 57.77 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00727/0.4186, allocations: 4.247 MB / 0.6319 GB, free: 56.29 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.02122/0.4399, allocations: 13.4 MB / 0.645 GB, free: 48.62 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006634/0.4465, allocations: 4.356 MB / 0.6492 GB, free: 46.59 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003237/0.4497, allocations: 2.501 MB / 0.6517 GB, free: 45.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002867/0.45, allocations: 57.95 kB / 0.6517 GB, free: 45.29 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004214/0.4542, allocations: 3.2 MB / 0.6549 GB, free: 43.43 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=382): time 6.492e-06/0.4542, allocations: 0 / 0.6549 GB, free: 43.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=382): time 0.1563/0.6105, allocations: 67.98 MB / 0.7212 GB, free: 8.734 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.119e-05/0.6106, allocations: 141.8 kB / 0.7214 GB, free: 8.57 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003348/0.614, allocations: 3.257 MB / 0.7246 GB, free: 5.293 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002831/0.6142, allocations: 89.7 kB / 0.7246 GB, free: 5.199 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001058/0.6153, allocations: 1.993 MB / 0.7266 GB, free: 3.203 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001796/0.6171, allocations: 1.354 MB / 0.7279 GB, free: 1.867 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001096/0.6182, allocations: 0.6744 MB / 0.7286 GB, free: 1.18 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.879e-05/0.6183, allocations: 305.1 kB / 0.7289 GB, free: 0.8789 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003828/0.6221, allocations: 2.631 MB / 0.7314 GB, free: 14.23 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004362/0.6265, allocations: 3.254 MB / 0.7346 GB, free: 10.74 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03796/0.6644, allocations: 18.97 MB / 0.7531 GB, free: 7.574 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.391e-05/0.6644, allocations: 8 kB / 0.7531 GB, free: 7.566 MB / 0.573 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.03147/0.6959, allocations: 16.88 MB / 0.7696 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.803e-05/0.696, allocations: 75.14 kB / 0.7697 GB, free: 6.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.21e-05/0.696, allocations: 16 kB / 0.7697 GB, free: 6.734 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01407/0.71, allocations: 7.221 MB / 0.7768 GB, free: 15.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001778/0.7118, allocations: 0.6679 MB / 0.7774 GB, free: 14.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05336/0.7652, allocations: 32.78 MB / 0.8094 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004512/0.7697, allocations: 0.626 MB / 0.81 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003248/0.77, allocations: 155.2 kB / 0.8102 GB, free: 13.26 MB / 0.6355 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (398): * Single equations (assignments): 395 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,45)} Notification: Performance of prepare postOptimizeDAE: time 0.001954/0.772, allocations: 0.6689 MB / 0.8108 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006736/0.7726, allocations: 480.9 kB / 0.8113 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03156/0.8042, allocations: 16.74 MB / 0.8276 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.323e-05/0.8042, allocations: 40 kB / 0.8277 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.38e-05/0.8042, allocations: 31.12 kB / 0.8277 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.56e-05/0.8043, allocations: 19.92 kB / 0.8277 GB, free: 11.37 MB / 0.6511 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.03595/0.8402, allocations: 20.38 MB / 0.8476 GB, free: 7.074 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.8402, allocations: 4 kB / 0.8476 GB, free: 7.07 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001354/0.8416, allocations: 382.3 kB / 0.848 GB, free: 6.719 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2874/1.129, allocations: 7.37 MB / 0.8552 GB, free: 228.3 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001719/1.131, allocations: 72.81 kB / 0.8553 GB, free: 228.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05038/1.181, allocations: 30.8 MB / 0.8853 GB, free: 219.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.181, allocations: 0 / 0.8853 GB, free: 219.1 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03513/1.216, allocations: 20.15 MB / 0.905 GB, free: 214 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001957/1.218, allocations: 0.5008 MB / 0.9055 GB, free: 213.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003963/1.219, allocations: 66.64 kB / 0.9056 GB, free: 213.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002242/1.221, allocations: 383.5 kB / 0.9059 GB, free: 213.6 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002878/1.224, allocations: 0.8082 MB / 0.9067 GB, free: 213.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001905/1.224, allocations: 96.81 kB / 0.9068 GB, free: 213.3 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001915/1.226, allocations: 2.117 MB / 0.9089 GB, free: 212.6 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4e-08/1.226, allocations: 0 / 0.9089 GB, free: 212.6 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003193/1.229, allocations: 1.801 MB / 0.9106 GB, free: 211.9 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (246): * Single equations (assignments): 243 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(100,36,5.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.03232/1.261, allocations: 20.81 MB / 0.931 GB, free: 195.1 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01474/1.276, allocations: 8.95 MB / 0.9397 GB, free: 186.1 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/1.276, allocations: 1 kB / 0.9397 GB, free: 186.1 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.009956/1.286, allocations: 5.901 MB / 0.9455 GB, free: 180.1 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002946/1.289, allocations: 382.3 kB / 0.9458 GB, free: 179.8 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08393/1.373, allocations: 58.16 MB / 1.003 GB, free: 120.9 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001332/1.374, allocations: 1.931 MB / 1.005 GB, free: 118.9 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001332/1.376, allocations: 375.1 kB / 1.005 GB, free: 118.5 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00147/1.377, allocations: 2.023 MB / 1.007 GB, free: 116.5 MB / 0.6667 GB Notification: Performance of SimCode: time 2.605e-06/1.377, allocations: 0 / 1.007 GB, free: 116.5 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3965/1.774, allocations: 138.3 MB / 1.142 GB, free: 219.5 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/14.37, allocations: 10.45 kB / 1.142 GB, free: 219.5 MB / 0.6667 GB " [Timeout remaining time 645] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.44005609303713] Failed to read output from testmodel.py, exit status != 0: 14.51599213667214 14.531338536 14.168484601 Calling exit ...