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.001362/0.001362, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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 1.58/1.58, allocations: 230.6 MB / 252.7 MB, free: 14.28 MB / 206.1 MB " [Timeout remaining time 178] 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.00172/0.00172, allocations: 210.8 kB / 309.2 MB, free: 3.164 MB / 238.1 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.6854/0.6854, allocations: 107.3 MB / 473 MB, free: 29.95 MB / 350.1 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: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00308/0.00308, allocations: 84.22 kB / 0.6332 GB, free: 29.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1928/0.1959, allocations: 80.17 MB / 0.7115 GB, free: 7.492 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.007995/0.2039, allocations: 5.775 MB / 0.7172 GB, free: 1.688 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005162/0.2091, allocations: 1.916 MB / 0.719 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001228/0.2103, allocations: 12 kB / 0.7191 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009215/0.2112, allocations: 237.9 kB / 0.7193 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002861/0.2141, allocations: 0.8616 MB / 0.7201 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001555/0.2156, allocations: 0.6222 MB / 0.7207 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002263/0.2179, allocations: 1.6 MB / 0.7223 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004735/0.2184, allocations: 214.9 kB / 0.7225 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001165/0.2195, allocations: 0.6846 MB / 0.7232 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001064/0.2206, allocations: 0.762 MB / 0.7239 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002082/0.2208, allocations: 127.9 kB / 0.724 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006646/0.2215, allocations: 271.9 kB / 0.7243 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003522/0.2218, allocations: 334.6 kB / 0.7246 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005946/0.2224, allocations: 0.5438 MB / 0.7251 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002257/0.2247, allocations: 1.708 MB / 0.7268 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.2247, allocations: 0 / 0.7268 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.806e-06/0.2247, allocations: 0 / 0.7268 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.719e-05/0.2247, allocations: 0 / 0.7268 GB, free: 7.777 MB / 0.4981 GB 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.009766/0.2345, allocations: 2.812 MB / 0.7296 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.2345, allocations: 12.03 kB / 0.7296 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001711/0.2347, allocations: 126.6 kB / 0.7297 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00529/0.24, allocations: 0.803 MB / 0.7305 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002105/0.2421, allocations: 0.8268 MB / 0.7313 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003902/0.2425, allocations: 337.3 kB / 0.7316 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000206/0.2427, allocations: 83.95 kB / 0.7317 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002434/0.2451, allocations: 1.119 MB / 0.7328 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.2452, allocations: 0 / 0.7328 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-05/0.2453, allocations: 32 kB / 0.7328 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.144e-05/0.2453, allocations: 20 kB / 0.7328 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002263/0.2475, allocations: 1.013 MB / 0.7338 GB, free: 424 kB / 0.4981 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.007179/0.2547, allocations: 2.936 MB / 0.7367 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007564/0.2623, allocations: 2.021 MB / 0.7387 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001636/0.2639, allocations: 0.6399 MB / 0.7393 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000103/0.264, allocations: 16.94 kB / 0.7393 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001801/0.2658, allocations: 0.8428 MB / 0.7401 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=95): time 2.916e-06/0.2658, allocations: 4 kB / 0.7401 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=95): time 0.03026/0.2961, allocations: 7.064 MB / 0.747 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.628e-05/0.2962, allocations: 123.7 kB / 0.7471 GB, free: 2.57 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00194/0.2981, allocations: 1.091 MB / 0.7482 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003029/0.2984, allocations: 49.7 kB / 0.7483 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000466/0.2989, allocations: 0.4936 MB / 0.7487 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004582/0.2994, allocations: 368.8 kB / 0.7491 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005252/0.2999, allocations: 287.5 kB / 0.7494 GB, free: 268 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.3, allocations: 301.1 kB / 0.7496 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001839/0.3019, allocations: 0.8115 MB / 0.7504 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001894/0.3038, allocations: 0.9767 MB / 0.7514 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02558/0.3294, allocations: 5.778 MB / 0.757 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-05/0.3294, allocations: 0 / 0.757 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01461/0.344, allocations: 4.395 MB / 0.7613 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.075e-05/0.3441, allocations: 59.41 kB / 0.7614 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.819e-05/0.3441, allocations: 8 kB / 0.7614 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006116/0.3502, allocations: 1.588 MB / 0.7629 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/0.3518, allocations: 279.6 kB / 0.7632 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02139/0.3732, allocations: 8.233 MB / 0.7712 GB, free: 9.512 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002019/0.3752, allocations: 207.2 kB / 0.7714 GB, free: 9.309 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/0.3753, allocations: 55.97 kB / 0.7715 GB, free: 9.254 MB / 0.545 GB 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.0007068/0.376, allocations: 300.1 kB / 0.7718 GB, free: 8.945 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002657/0.3763, allocations: 131.2 kB / 0.7719 GB, free: 8.816 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01364/0.3899, allocations: 3.863 MB / 0.7757 GB, free: 4.914 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.026e-05/0.39, allocations: 8 kB / 0.7757 GB, free: 4.906 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.722e-05/0.39, allocations: 8 kB / 0.7757 GB, free: 4.898 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.899e-05/0.39, allocations: 3.984 kB / 0.7757 GB, free: 4.895 MB / 0.545 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.01582/0.4058, allocations: 4.986 MB / 0.7806 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-05/0.4058, allocations: 0 / 0.7806 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000701/0.4065, allocations: 103.9 kB / 0.7807 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0059/0.4125, allocations: 1.59 MB / 0.7822 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001886/0.4126, allocations: 20 kB / 0.7822 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02209/0.4347, allocations: 9.259 MB / 0.7913 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.4347, allocations: 0 / 0.7913 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01545/0.4502, allocations: 4.762 MB / 0.7959 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005782/0.4508, allocations: 158.8 kB / 0.7961 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001985/0.451, allocations: 20.12 kB / 0.7961 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/0.4521, allocations: 107.9 kB / 0.7962 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006728/0.4528, allocations: 212.6 kB / 0.7964 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.878e-05/0.4529, allocations: 28 kB / 0.7964 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001206/0.4541, allocations: 0.7393 MB / 0.7972 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4541, allocations: 0 / 0.7972 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001479/0.4556, allocations: 475.6 kB / 0.7976 GB, free: 14.08 MB / 0.5762 GB 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.01561/0.4712, allocations: 5.349 MB / 0.8028 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006909/0.4781, allocations: 2.466 MB / 0.8052 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.4781, allocations: 0 / 0.8052 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004518/0.4826, allocations: 1.554 MB / 0.8068 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.4838, allocations: 114.3 kB / 0.8069 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4459/0.9296, allocations: 16.24 MB / 0.8227 GB, free: 92.05 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008062/0.9304, allocations: 0.5338 MB / 0.8233 GB, free: 91.91 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006537/0.9311, allocations: 118 kB / 0.8234 GB, free: 91.89 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000646/0.9317, allocations: 480.8 kB / 0.8238 GB, free: 91.53 MB / 0.5762 GB Notification: Performance of SimCode: time 1.222e-06/0.9317, allocations: 1.094 kB / 0.8238 GB, free: 91.53 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0764/1.008, allocations: 37.59 MB / 0.8605 GB, free: 63.75 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.84/15.85, allocations: 11.75 kB / 0.8605 GB, free: 63.74 MB / 0.5762 GB " [Timeout remaining time 644] (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: 19.82556631695479] Failed to read output from testmodel.py, exit status != 0: 15.991155625786632 16.006297936 15.778132482 Calling exit ...