Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.0007546/0.0007546, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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 1.106/1.106, allocations: 177.2 MB / 199.4 MB, free: 5.914 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.002115/0.002115, allocations: 163.4 kB / 256 MB, free: 13.32 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.3089/0.3089, allocations: 80.36 MB / 392.7 MB, free: 2.355 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.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.555 GB, free: 12.57 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.224e-05/1.385e-05, allocations: 5.094 kB / 0.555 GB, free: 12.57 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.005368/0.005382, allocations: 5.934 MB / 0.5608 GB, free: 6.602 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003374/0.008756, allocations: 1.978 MB / 0.5627 GB, free: 4.621 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000657/0.009413, allocations: 15.94 kB / 0.5627 GB, free: 4.605 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007257/0.01014, allocations: 241.9 kB / 0.5629 GB, free: 4.367 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001928/0.01207, allocations: 0.8815 MB / 0.5638 GB, free: 3.48 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.01318, allocations: 0.6548 MB / 0.5644 GB, free: 2.832 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001443/0.01462, allocations: 1.67 MB / 0.5661 GB, free: 1.156 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003952/0.01502, allocations: 219 kB / 0.5663 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009432/0.01596, allocations: 0.9506 MB / 0.5672 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006388/0.0166, allocations: 0.7087 MB / 0.5679 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001305/0.01673, allocations: 136 kB / 0.568 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004659/0.01719, allocations: 283.7 kB / 0.5683 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003232/0.01752, allocations: 354.5 kB / 0.5686 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003585/0.01788, allocations: 486.4 kB / 0.5691 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001483/0.01936, allocations: 1.814 MB / 0.5709 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.01936, allocations: 0 / 0.5709 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.653e-06/0.01936, allocations: 0 / 0.5709 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.01938, allocations: 0 / 0.5709 GB, free: 12.21 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.005354/0.02473, allocations: 2.894 MB / 0.5737 GB, free: 9.254 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.02478, allocations: 8.031 kB / 0.5737 GB, free: 9.246 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001274/0.02491, allocations: 130.7 kB / 0.5738 GB, free: 9.109 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002581/0.02749, allocations: 0.7991 MB / 0.5746 GB, free: 8.309 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.02873, allocations: 0.8701 MB / 0.5755 GB, free: 7.395 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002559/0.02898, allocations: 341.2 kB / 0.5758 GB, free: 7.004 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.02911, allocations: 84 kB / 0.5759 GB, free: 6.922 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/0.03055, allocations: 1.135 MB / 0.577 GB, free: 5.77 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.03057, allocations: 8 kB / 0.577 GB, free: 5.762 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.352e-05/0.03065, allocations: 35.94 kB / 0.577 GB, free: 5.727 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.03066, allocations: 16 kB / 0.577 GB, free: 5.711 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001369/0.03203, allocations: 1.028 MB / 0.578 GB, free: 4.672 MB / 0.4948 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.004079/0.03611, allocations: 3.012 MB / 0.581 GB, free: 1.594 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003989/0.04009, allocations: 2.062 MB / 0.583 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000841/0.04094, allocations: 0.6543 MB / 0.5836 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.229e-05/0.04102, allocations: 13 kB / 0.5837 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001058/0.04208, allocations: 0.8701 MB / 0.5845 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=98): time 2.244e-06/0.04208, allocations: 0 / 0.5845 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=98): time 0.01504/0.05712, allocations: 6.955 MB / 0.5913 GB, free: 6.941 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.05716, allocations: 115.8 kB / 0.5914 GB, free: 6.801 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.05822, allocations: 1.143 MB / 0.5925 GB, free: 5.645 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.355e-05/0.05829, allocations: 53.73 kB / 0.5926 GB, free: 5.586 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002664/0.05856, allocations: 0.5015 MB / 0.5931 GB, free: 5.078 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003278/0.05888, allocations: 376.8 kB / 0.5934 GB, free: 4.707 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003314/0.05921, allocations: 303.4 kB / 0.5937 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.487e-05/0.05929, allocations: 305.1 kB / 0.594 GB, free: 4.105 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001055/0.06034, allocations: 0.8467 MB / 0.5948 GB, free: 3.246 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001126/0.06147, allocations: 1.027 MB / 0.5958 GB, free: 2.164 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2857/0.3471, allocations: 6.14 MB / 0.6018 GB, free: 91.65 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.3472, allocations: 3.906 kB / 0.6018 GB, free: 91.65 MB / 0.5105 GB Notification: Performance of matching and sorting (n=204) (initialization): time 0.008025/0.3552, allocations: 4.536 MB / 0.6063 GB, free: 90.74 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.517e-05/0.3553, allocations: 64.61 kB / 0.6063 GB, free: 90.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.533e-05/0.3553, allocations: 0 / 0.6063 GB, free: 90.67 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00417/0.3595, allocations: 1.665 MB / 0.6079 GB, free: 90.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.3605, allocations: 297.6 kB / 0.6082 GB, free: 90.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01332/0.3739, allocations: 8.338 MB / 0.6164 GB, free: 86.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/0.375, allocations: 210.7 kB / 0.6166 GB, free: 86.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.724e-05/0.3751, allocations: 57 kB / 0.6166 GB, free: 86.59 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order6.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 order6.delta:VARIABLE(flow=false start = order6.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 (171): * Single equations (assignments): 168 * 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 {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005005/0.3756, allocations: 315.4 kB / 0.6169 GB, free: 86.33 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/0.3758, allocations: 140.8 kB / 0.6171 GB, free: 86.25 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008021/0.3839, allocations: 3.916 MB / 0.6209 GB, free: 85.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.3839, allocations: 10.16 kB / 0.6209 GB, free: 85.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.3839, allocations: 12.38 kB / 0.6209 GB, free: 85.29 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.3839, allocations: 4.406 kB / 0.6209 GB, free: 85.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 postOpt removeSimpleEquations (simulation): time 0.008328/0.3922, allocations: 5.056 MB / 0.6259 GB, free: 83.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.3922, allocations: 1.031 kB / 0.6259 GB, free: 83.69 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004286/0.3927, allocations: 105.1 kB / 0.626 GB, free: 83.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003085/0.3957, allocations: 1.596 MB / 0.6275 GB, free: 83.38 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.876e-05/0.3958, allocations: 22.48 kB / 0.6275 GB, free: 83.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01225/0.4081, allocations: 9.241 MB / 0.6366 GB, free: 77.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4081, allocations: 3.938 kB / 0.6366 GB, free: 77.77 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007532/0.4156, allocations: 4.834 MB / 0.6413 GB, free: 75.27 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.4157, allocations: 158.5 kB / 0.6414 GB, free: 75.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.4158, allocations: 19.88 kB / 0.6415 GB, free: 75.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005662/0.4164, allocations: 111.1 kB / 0.6416 GB, free: 75.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003333/0.4167, allocations: 207.4 kB / 0.6418 GB, free: 74.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.183e-05/0.4168, allocations: 27.67 kB / 0.6418 GB, free: 74.95 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006786/0.4175, allocations: 0.7798 MB / 0.6425 GB, free: 74.45 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.4175, allocations: 0 / 0.6425 GB, free: 74.45 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001059/0.4185, allocations: 499 kB / 0.643 GB, free: 73.98 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,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 (66): * Single equations (assignments): 63 * 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.007557/0.4261, allocations: 5.433 MB / 0.6483 GB, free: 68.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003748/0.4298, allocations: 2.547 MB / 0.6508 GB, free: 65.89 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4298, allocations: 0 / 0.6508 GB, free: 65.89 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002075/0.4319, allocations: 1.591 MB / 0.6524 GB, free: 64.27 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007272/0.4326, allocations: 120 kB / 0.6525 GB, free: 64.15 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02077/0.4534, allocations: 16.79 MB / 0.6689 GB, free: 47.16 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.4538, allocations: 0.5509 MB / 0.6694 GB, free: 46.57 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002515/0.454, allocations: 120.2 kB / 0.6695 GB, free: 46.46 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004131/0.4544, allocations: 492.3 kB / 0.67 GB, free: 45.97 MB / 0.5105 GB Notification: Performance of SimCode: time 9.62e-07/0.4544, allocations: 0 / 0.67 GB, free: 45.97 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04602/0.5004, allocations: 39.21 MB / 0.7083 GB, free: 7.062 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.018/9.519, allocations: 4.062 kB / 0.7083 GB, free: 7.059 MB / 0.5105 GB " [Timeout remaining time 650] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.478825518861413] Failed to read output from testmodel.py, exit status != 0: 9.626900689676404 9.635642245 9.614424567 Calling exit ...