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.001271/0.001271, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.393/1.393, allocations: 230.6 MB / 250.5 MB, free: 9.23 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.001991/0.001991, allocations: 201.7 kB / 306.7 MB, free: 4.32 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.5287/0.5287, allocations: 101.3 MB / 464.1 MB, free: 11.93 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII",fmuType="cs",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.002384/0.002384, allocations: 83.88 kB / 0.6201 GB, free: 15.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1477, allocations: 78.58 MB / 0.6968 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.3108/0.4585, allocations: 21.84 MB / 0.7181 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01553/0.4741, allocations: 4.903 MB / 0.7229 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006016/0.4801, allocations: 51.16 kB / 0.723 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003525/0.4836, allocations: 0.8782 MB / 0.7238 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.009856/0.4935, allocations: 2.295 MB / 0.7261 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006909/0.5004, allocations: 2.062 MB / 0.7281 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01291/0.5133, allocations: 5.707 MB / 0.7337 GB, free: 100 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003721/0.517, allocations: 0.9127 MB / 0.7346 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006099/0.5231, allocations: 2.383 MB / 0.7369 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006241/0.5294, allocations: 2.959 MB / 0.7398 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.002501/0.5319, allocations: 437.2 kB / 0.7402 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003604/0.5355, allocations: 0.6066 MB / 0.7408 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002645/0.5381, allocations: 1.152 MB / 0.7419 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.005679/0.5438, allocations: 2.612 MB / 0.7445 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01145/0.5552, allocations: 6.266 MB / 0.7506 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.5552, allocations: 3.938 kB / 0.7506 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5552, allocations: 0 / 0.7506 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0002731/0.5555, allocations: 1.156 kB / 0.7506 GB, free: 5.34 MB / 0.5137 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.03488/0.5904, allocations: 9.336 MB / 0.7597 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.5904, allocations: 9.531 kB / 0.7597 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001439/0.5906, allocations: 87.2 kB / 0.7598 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007537/0.5913, allocations: 489.2 kB / 0.7603 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02814/0.6195, allocations: 4.058 MB / 0.7642 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007648/0.6271, allocations: 2.689 MB / 0.7668 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001226/0.6284, allocations: 0.9611 MB / 0.7678 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001299/0.6297, allocations: 348.7 kB / 0.7681 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01116/0.6408, allocations: 4.727 MB / 0.7727 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.091e-05/0.6409, allocations: 0 / 0.7727 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004747/0.6414, allocations: 140 kB / 0.7729 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.294e-05/0.6415, allocations: 87.98 kB / 0.773 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00982/0.6513, allocations: 4.248 MB / 0.7771 GB, free: 15.55 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 preOpt removeSimpleEquations (simulation): time 0.03654/0.6878, allocations: 18.21 MB / 0.7949 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01331/0.7011, allocations: 4.644 MB / 0.7994 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006524/0.7077, allocations: 2.478 MB / 0.8018 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005007/0.7082, allocations: 70.91 kB / 0.8019 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007089/0.7152, allocations: 3.173 MB / 0.805 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=382): time 5.45e-06/0.7152, allocations: 0 / 0.805 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of matching and sorting (n=382): time 0.31/1.025, allocations: 68.09 MB / 0.8715 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/1.025, allocations: 141.8 kB / 0.8716 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005196/1.031, allocations: 3.23 MB / 0.8748 GB, free: 9.945 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0009853/1.032, allocations: 89.7 kB / 0.8749 GB, free: 9.852 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001861/1.033, allocations: 2.001 MB / 0.8768 GB, free: 7.84 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002212/1.036, allocations: 1.379 MB / 0.8782 GB, free: 6.449 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001581/1.037, allocations: 0.6666 MB / 0.8788 GB, free: 5.77 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001468/1.037, allocations: 313 kB / 0.8791 GB, free: 5.461 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006107/1.043, allocations: 2.577 MB / 0.8816 GB, free: 2.875 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00661/1.05, allocations: 3.201 MB / 0.8848 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07343/1.124, allocations: 18.98 MB / 0.9033 GB, free: 12.2 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.031e-05/1.124, allocations: 4 kB / 0.9033 GB, free: 12.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.05861/1.182, allocations: 16.82 MB / 0.9197 GB, free: 11.33 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001335/1.182, allocations: 67.39 kB / 0.9198 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-05/1.182, allocations: 16 kB / 0.9198 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02738/1.21, allocations: 7.225 MB / 0.9269 GB, free: 4.008 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003628/1.213, allocations: 0.6709 MB / 0.9275 GB, free: 3.336 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09297/1.306, allocations: 33.76 MB / 0.9605 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006528/1.313, allocations: 0.626 MB / 0.9611 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006893/1.314, allocations: 156 kB / 0.9613 GB, free: 0.6289 MB / 0.7169 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.002005/1.316, allocations: 0.669 MB / 0.9619 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001247/1.317, allocations: 480.8 kB / 0.9624 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3632/1.68, allocations: 16.7 MB / 0.9787 GB, free: 231.3 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-05/1.68, allocations: 36.89 kB / 0.9787 GB, free: 231.3 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.678e-05/1.68, allocations: 34.72 kB / 0.9787 GB, free: 231.3 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001169/1.68, allocations: 18.05 kB / 0.9788 GB, free: 231.3 MB / 0.7325 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.06719/1.747, allocations: 21.7 MB / 0.9999 GB, free: 228.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.694e-05/1.747, allocations: 0 / 0.9999 GB, free: 228.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002231/1.75, allocations: 388.6 kB / 1 GB, free: 228.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02626/1.776, allocations: 7.376 MB / 1.008 GB, free: 227.1 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001104/1.777, allocations: 73.38 kB / 1.008 GB, free: 227 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07333/1.85, allocations: 31.85 MB / 1.039 GB, free: 213.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.85, allocations: 0 / 1.039 GB, free: 213.6 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05662/1.907, allocations: 20.1 MB / 1.058 GB, free: 196.7 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001728/1.909, allocations: 0.5738 MB / 1.059 GB, free: 196.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00105/1.91, allocations: 67.94 kB / 1.059 GB, free: 196.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004349/1.914, allocations: 379.5 kB / 1.059 GB, free: 195.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002838/1.917, allocations: 0.7806 MB / 1.06 GB, free: 195 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003358/1.917, allocations: 103.9 kB / 1.06 GB, free: 194.9 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00283/1.92, allocations: 2.107 MB / 1.062 GB, free: 192.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/1.92, allocations: 4 kB / 1.062 GB, free: 192.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.005724/1.926, allocations: 1.807 MB / 1.064 GB, free: 191 MB / 0.7325 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.05693/1.983, allocations: 20.77 MB / 1.084 GB, free: 170.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02426/2.007, allocations: 8.883 MB / 1.093 GB, free: 161.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/2.007, allocations: 4 kB / 1.093 GB, free: 161.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01809/2.025, allocations: 5.897 MB / 1.099 GB, free: 155.3 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003442/2.029, allocations: 383.6 kB / 1.099 GB, free: 154.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.142/2.171, allocations: 57.97 MB / 1.156 GB, free: 96.18 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001663/2.172, allocations: 2.443 MB / 1.158 GB, free: 93.7 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001471/2.174, allocations: 379.1 kB / 1.158 GB, free: 93.33 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001908/2.176, allocations: 2.022 MB / 1.16 GB, free: 91.3 MB / 0.7325 GB Notification: Performance of SimCode: time 1.022e-06/2.176, allocations: 0 / 1.16 GB, free: 91.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4766/2.652, allocations: 130.6 MB / 1.288 GB, free: 238.7 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.52/25.17, allocations: 6.703 kB / 1.288 GB, free: 238.7 MB / 0.7481 GB " [Timeout remaining time 635] (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: 30.19829834898701] Failed to read output from testmodel.py, exit status != 0: 25.397362145013176 25.417002225 24.858060579 Calling exit ...