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.001361/0.001361, allocations: 80.52 kB / 19.18 MB, free: 2.527 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.408/1.408, allocations: 177.1 MB / 199.4 MB, free: 8.445 MB / 190.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.001517/0.001517, allocations: 164.9 kB / 256 MB, free: 4.316 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.5788/0.5788, allocations: 80.36 MB / 392.7 MB, free: 29.65 MB / 334.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: translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.5556 GB, free: 14.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.882e-05/3.014e-05, allocations: 5.656 kB / 0.5556 GB, free: 14.08 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.01596/0.01599, allocations: 18.41 MB / 0.5736 GB, free: 1.031 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01488/0.03087, allocations: 4.831 MB / 0.5783 GB, free: 12.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007292/0.03816, allocations: 43.97 kB / 0.5783 GB, free: 12.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00456/0.04272, allocations: 0.8772 MB / 0.5792 GB, free: 12.19 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01297/0.05569, allocations: 2.356 MB / 0.5815 GB, free: 10.15 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007295/0.06298, allocations: 2.072 MB / 0.5835 GB, free: 8.652 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01255/0.07554, allocations: 5.848 MB / 0.5892 GB, free: 3.574 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003186/0.07872, allocations: 0.8766 MB / 0.5901 GB, free: 2.645 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009767/0.08849, allocations: 3.296 MB / 0.5933 GB, free: 15.34 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005057/0.09355, allocations: 2.27 MB / 0.5955 GB, free: 13.06 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001983/0.09553, allocations: 436 kB / 0.5959 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003161/0.09869, allocations: 0.6051 MB / 0.5965 GB, free: 12.03 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002237/0.1009, allocations: 1.166 MB / 0.5976 GB, free: 10.86 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004264/0.1052, allocations: 1.717 MB / 0.5993 GB, free: 9.137 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00993/0.1151, allocations: 6.326 MB / 0.6055 GB, free: 2.789 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1151, allocations: 0 / 0.6055 GB, free: 2.789 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1151, allocations: 4 kB / 0.6055 GB, free: 2.785 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002408/0.1154, allocations: 0 / 0.6055 GB, free: 2.785 MB / 462.1 MB 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.03469/0.1501, allocations: 9.837 MB / 0.6151 GB, free: 8.859 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.1501, allocations: 12.03 kB / 0.6151 GB, free: 8.848 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02788/0.178, allocations: 4.055 MB / 0.6191 GB, free: 4.785 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00704/0.185, allocations: 2.566 MB / 0.6216 GB, free: 2.133 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001315/0.1863, allocations: 1.036 MB / 0.6226 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001173/0.1875, allocations: 344 kB / 0.6229 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01097/0.1985, allocations: 4.748 MB / 0.6276 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.568e-05/0.1985, allocations: 0 / 0.6276 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004479/0.199, allocations: 140 kB / 0.6277 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.109e-05/0.1991, allocations: 87.94 kB / 0.6278 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009684/0.2087, allocations: 4.253 MB / 0.6319 GB, free: 7.328 MB / 494.1 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.03601/0.2448, allocations: 13.01 MB / 0.6446 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01302/0.2578, allocations: 4.349 MB / 0.6489 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006464/0.2642, allocations: 2.499 MB / 0.6513 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004766/0.2647, allocations: 62.94 kB / 0.6514 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007348/0.2721, allocations: 3.206 MB / 0.6545 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=382): time 6.872e-06/0.2721, allocations: 0 / 0.6545 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=382): time 0.6211/0.8932, allocations: 67.97 MB / 0.7209 GB, free: 137 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.957e-05/0.8932, allocations: 147.7 kB / 0.721 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005544/0.8988, allocations: 3.211 MB / 0.7242 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009505/0.8997, allocations: 96.03 kB / 0.7243 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001159/0.9009, allocations: 2 MB / 0.7262 GB, free: 136 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001514/0.9024, allocations: 1.353 MB / 0.7275 GB, free: 135.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001392/0.9038, allocations: 0.6595 MB / 0.7282 GB, free: 134.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.866e-05/0.9039, allocations: 302.3 kB / 0.7285 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005688/0.9096, allocations: 2.62 MB / 0.731 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006343/0.9159, allocations: 3.242 MB / 0.7342 GB, free: 132 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07213/0.988, allocations: 18.94 MB / 0.7527 GB, free: 126.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-05/0.9881, allocations: 6.984 kB / 0.7527 GB, free: 126.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=527) (initialization): time 0.05599/1.044, allocations: 16.86 MB / 0.7692 GB, free: 113 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.454e-05/1.044, allocations: 63.41 kB / 0.7692 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.034e-05/1.044, allocations: 18.25 kB / 0.7692 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02579/1.07, allocations: 7.224 MB / 0.7763 GB, free: 105.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003442/1.073, allocations: 0.6514 MB / 0.7769 GB, free: 105.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08245/1.156, allocations: 32.71 MB / 0.8089 GB, free: 72.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005882/1.162, allocations: 0.628 MB / 0.8095 GB, free: 71.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008395/1.163, allocations: 148 kB / 0.8096 GB, free: 71.58 MB / 0.5606 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 (391): * Single equations (assignments): 388 * 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.002464/1.165, allocations: 0.6723 MB / 0.8103 GB, free: 70.91 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001235/1.166, allocations: 476.9 kB / 0.8107 GB, free: 70.44 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05262/1.219, allocations: 16.73 MB / 0.8271 GB, free: 53.64 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.992e-05/1.219, allocations: 36 kB / 0.8271 GB, free: 53.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.047e-05/1.219, allocations: 36 kB / 0.8271 GB, free: 53.57 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.213e-05/1.219, allocations: 15.94 kB / 0.8272 GB, free: 53.55 MB / 0.5606 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.05747/1.276, allocations: 20.01 MB / 0.8467 GB, free: 33.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.451e-05/1.277, allocations: 7.969 kB / 0.8467 GB, free: 33.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00226/1.279, allocations: 384.1 kB / 0.8471 GB, free: 33.19 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02578/1.305, allocations: 7.363 MB / 0.8543 GB, free: 25.81 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009466/1.306, allocations: 75.98 kB / 0.8543 GB, free: 25.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08097/1.386, allocations: 30.68 MB / 0.8843 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/1.386, allocations: 7.75 kB / 0.8843 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0708/1.457, allocations: 20.15 MB / 0.904 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001358/1.459, allocations: 0.4949 MB / 0.9045 GB, free: 6.152 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00139/1.46, allocations: 60 kB / 0.9045 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005202/1.465, allocations: 383.5 kB / 0.9049 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00367/1.469, allocations: 0.8114 MB / 0.9057 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006693/1.47, allocations: 98.72 kB / 0.9058 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003895/1.473, allocations: 2.097 MB / 0.9078 GB, free: 2.707 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/1.473, allocations: 4 kB / 0.9078 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006311/1.48, allocations: 1.802 MB / 0.9096 GB, free: 0.9648 MB / 0.5919 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.000876/1.481, allocations: 202.3 kB / 0.9098 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02903/1.51, allocations: 8.924 MB / 0.9185 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/1.51, allocations: 0 / 0.9185 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.02216/1.532, allocations: 5.891 MB / 0.9242 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004595/1.536, allocations: 384.6 kB / 0.9246 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0183/1.555, allocations: 7.861 MB / 0.9323 GB, free: 9.551 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002905/1.558, allocations: 1.927 MB / 0.9342 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001988/1.56, allocations: 379 kB / 0.9345 GB, free: 7.203 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009848/1.561, allocations: 248.4 kB / 0.9348 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of SimCode: time 1.262e-06/1.561, allocations: 0 / 0.9348 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of Templates: time 0.3901/1.951, allocations: 97.88 MB / 1.03 GB, free: 162.5 MB / 0.6387 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile [Timeout 660] (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 & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.5866967625916] Failed to read output from testmodel.py, exit status != 0: 1.9594213850796223 1.969066335 1.851587577 Calling exit ...