Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.001095/0.001095, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.9363/0.9363, allocations: 177.2 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.001489/0.001489, allocations: 160.5 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.2665/0.2665, allocations: 80.37 MB / 392.7 MB, free: 2.367 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.TwoAreaOld.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 3.938 kB / 0.555 GB, free: 12.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.634e-05/1.787e-05, allocations: 4.812 kB / 0.555 GB, free: 12.21 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.004949/0.004966, allocations: 5.766 MB / 0.5606 GB, free: 6.414 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002792/0.007758, allocations: 1.92 MB / 0.5625 GB, free: 4.488 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003981/0.008156, allocations: 12 kB / 0.5625 GB, free: 4.477 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007581/0.008915, allocations: 237.8 kB / 0.5627 GB, free: 4.242 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001535/0.01045, allocations: 0.8707 MB / 0.5636 GB, free: 3.371 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.01145, allocations: 0.6374 MB / 0.5642 GB, free: 2.742 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001405/0.01286, allocations: 1.576 MB / 0.5657 GB, free: 1.16 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003431/0.0132, allocations: 218.9 kB / 0.5659 GB, free: 0.9375 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008015/0.014, allocations: 0.9155 MB / 0.5668 GB, free: 20 kB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2981/0.3121, allocations: 0.6577 MB / 0.5675 GB, free: 16.19 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003237/0.3124, allocations: 122.9 kB / 0.5676 GB, free: 16.19 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005164/0.3129, allocations: 273.3 kB / 0.5678 GB, free: 16.19 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002342/0.3131, allocations: 334.9 kB / 0.5682 GB, free: 16.19 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003934/0.3135, allocations: 460.1 kB / 0.5686 GB, free: 16.19 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001714/0.3152, allocations: 1.729 MB / 0.5703 GB, free: 16.1 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3152, allocations: 0 / 0.5703 GB, free: 16.1 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3152, allocations: 1.219 kB / 0.5703 GB, free: 16.1 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.289e-05/0.3153, allocations: 0 / 0.5703 GB, free: 16.1 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.005809/0.3211, allocations: 2.796 MB / 0.573 GB, free: 15.18 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/0.3211, allocations: 12.66 kB / 0.573 GB, free: 15.18 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000145/0.3213, allocations: 129.4 kB / 0.5732 GB, free: 15.14 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002846/0.3241, allocations: 0.7914 MB / 0.5739 GB, free: 15.05 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00135/0.3255, allocations: 0.8342 MB / 0.5747 GB, free: 14.73 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000201/0.3257, allocations: 339.5 kB / 0.5751 GB, free: 14.44 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.3258, allocations: 81.02 kB / 0.5751 GB, free: 14.44 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001484/0.3273, allocations: 1.108 MB / 0.5762 GB, free: 14.25 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.3273, allocations: 1.562 kB / 0.5762 GB, free: 14.25 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.045e-05/0.3274, allocations: 30.22 kB / 0.5763 GB, free: 14.22 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.3274, allocations: 19.22 kB / 0.5763 GB, free: 14.22 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001551/0.3289, allocations: 1.008 MB / 0.5773 GB, free: 13.86 MB / 442.7 MB 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.005154/0.3341, allocations: 2.941 MB / 0.5801 GB, free: 12.39 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004466/0.3386, allocations: 2.02 MB / 0.5821 GB, free: 11.96 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008621/0.3394, allocations: 0.6399 MB / 0.5827 GB, free: 11.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.593e-05/0.3395, allocations: 16.38 kB / 0.5827 GB, free: 11.69 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001058/0.3406, allocations: 0.8399 MB / 0.5836 GB, free: 11.35 MB / 442.7 MB Notification: Performance of pre-optimization done (n=95): time 3.055e-06/0.3406, allocations: 4 kB / 0.5836 GB, free: 11.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=95): time 0.01654/0.3571, allocations: 7.064 MB / 0.5905 GB, free: 8.914 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.699e-05/0.3572, allocations: 115.9 kB / 0.5906 GB, free: 8.789 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001669/0.3589, allocations: 1.102 MB / 0.5917 GB, free: 8.164 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.148e-05/0.3589, allocations: 42.58 kB / 0.5917 GB, free: 8.121 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002414/0.3592, allocations: 0.4915 MB / 0.5922 GB, free: 7.688 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002664/0.3595, allocations: 365 kB / 0.5925 GB, free: 7.379 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003622/0.3598, allocations: 281.2 kB / 0.5928 GB, free: 7.211 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.52e-05/0.3599, allocations: 306.2 kB / 0.5931 GB, free: 6.91 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.361, allocations: 0.8067 MB / 0.5939 GB, free: 6.465 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/0.3622, allocations: 0.9779 MB / 0.5948 GB, free: 5.855 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01213/0.3743, allocations: 5.781 MB / 0.6005 GB, free: 2.945 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/0.3743, allocations: 0 / 0.6005 GB, free: 2.945 MB / 442.7 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.007118/0.3815, allocations: 4.396 MB / 0.6048 GB, free: 15.46 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.507e-05/0.3815, allocations: 55.41 kB / 0.6048 GB, free: 15.39 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.3815, allocations: 8 kB / 0.6048 GB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003214/0.3847, allocations: 1.591 MB / 0.6064 GB, free: 13.79 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007327/0.3855, allocations: 280.9 kB / 0.6066 GB, free: 13.54 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01148/0.397, allocations: 8.226 MB / 0.6147 GB, free: 5.195 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/0.3984, allocations: 212.7 kB / 0.6149 GB, free: 4.988 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-05/0.3985, allocations: 54.28 kB / 0.6149 GB, free: 4.938 MB / 458.7 MB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" 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 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (160): * Single equations (assignments): 157 * 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): 1 system {(19,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005946/0.3991, allocations: 300.8 kB / 0.6152 GB, free: 4.648 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.3992, allocations: 131.2 kB / 0.6153 GB, free: 4.52 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006861/0.4061, allocations: 3.862 MB / 0.6191 GB, free: 0.6523 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/0.4061, allocations: 16 kB / 0.6191 GB, free: 0.6367 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.4061, allocations: 11.94 kB / 0.6191 GB, free: 0.625 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.4061, allocations: 3.984 kB / 0.6191 GB, free: 0.6211 MB / 458.7 MB 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.008233/0.4143, allocations: 4.981 MB / 0.624 GB, free: 11.62 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.4143, allocations: 5.75 kB / 0.624 GB, free: 11.62 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002995/0.4146, allocations: 101.5 kB / 0.6241 GB, free: 11.53 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002928/0.4176, allocations: 1.604 MB / 0.6257 GB, free: 9.93 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.368e-05/0.4176, allocations: 24 kB / 0.6257 GB, free: 9.906 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01201/0.4296, allocations: 9.242 MB / 0.6347 GB, free: 468 kB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.4296, allocations: 0 / 0.6347 GB, free: 468 kB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008251/0.4379, allocations: 4.759 MB / 0.6394 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003984/0.4383, allocations: 158.9 kB / 0.6395 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.4384, allocations: 18.91 kB / 0.6395 GB, free: 11.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006408/0.4391, allocations: 107.9 kB / 0.6396 GB, free: 11.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004999/0.4396, allocations: 204.6 kB / 0.6398 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.403e-05/0.4396, allocations: 28 kB / 0.6399 GB, free: 11.18 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008322/0.4404, allocations: 0.7315 MB / 0.6406 GB, free: 10.44 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4404, allocations: 0 / 0.6406 GB, free: 10.44 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001428/0.4419, allocations: 479.6 kB / 0.641 GB, free: 9.969 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.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 (63): * Single equations (assignments): 60 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008055/0.4499, allocations: 5.351 MB / 0.6463 GB, free: 4.602 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004418/0.4543, allocations: 2.456 MB / 0.6487 GB, free: 2.109 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4543, allocations: 0 / 0.6487 GB, free: 2.109 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002356/0.4567, allocations: 1.566 MB / 0.6502 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009612/0.4577, allocations: 113.2 kB / 0.6503 GB, free: 420 kB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02354/0.4812, allocations: 16.11 MB / 0.666 GB, free: 124 kB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000446/0.4816, allocations: 0.5238 MB / 0.6665 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004024/0.482, allocations: 116.1 kB / 0.6667 GB, free: 15.44 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004646/0.4825, allocations: 484.3 kB / 0.6671 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of SimCode: time 3.046e-06/0.4825, allocations: 4 kB / 0.6671 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05271/0.5352, allocations: 37.82 MB / 0.7041 GB, free: 9.449 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.327/9.862, allocations: 7.5 kB / 0.7041 GB, free: 9.445 MB / 0.5417 GB " [Timeout remaining time 650] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.375805617310107] Failed to read output from testmodel.py, exit status != 0: 9.970329010859132 9.98028786 9.663202759 Calling exit ...