Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 107.7 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 225.6 MB / 244.8 MB, free: 14.21 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001869/0.001869, allocations: 195 kB / 299.8 MB, free: 9.844 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6122/0.6122, allocations: 99.66 MB / 454.4 MB, free: 5.055 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002372/0.002372, allocations: 83.86 kB / 0.6073 GB, free: 9.508 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1941, allocations: 76.94 MB / 0.6825 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.008396/0.2025, allocations: 6.611 MB / 0.6889 GB, free: 5.762 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004897/0.2074, allocations: 1.97 MB / 0.6909 GB, free: 3.785 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006662/0.2081, allocations: 12 kB / 0.6909 GB, free: 3.773 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000864/0.2089, allocations: 241.9 kB / 0.6911 GB, free: 3.535 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002234/0.2112, allocations: 0.8505 MB / 0.6919 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001463/0.2126, allocations: 0.6405 MB / 0.6926 GB, free: 2.047 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00196/0.2146, allocations: 1.585 MB / 0.6941 GB, free: 468 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004216/0.215, allocations: 226.4 kB / 0.6943 GB, free: 228 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.4437/0.6587, allocations: 0.6517 MB / 0.695 GB, free: 8.777 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001352/0.6601, allocations: 0.8408 MB / 0.6958 GB, free: 8.688 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002406/0.6603, allocations: 120 kB / 0.6959 GB, free: 8.688 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006542/0.661, allocations: 265.2 kB / 0.6962 GB, free: 8.688 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00031/0.6613, allocations: 320.8 kB / 0.6965 GB, free: 8.637 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006829/0.662, allocations: 0.6724 MB / 0.6971 GB, free: 8.422 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001998/0.664, allocations: 1.663 MB / 0.6987 GB, free: 8.148 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.664, allocations: 3.812 kB / 0.6987 GB, free: 8.148 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.664, allocations: 0 / 0.6987 GB, free: 8.148 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.329e-05/0.664, allocations: 0 / 0.6987 GB, free: 8.148 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.00902/0.673, allocations: 2.724 MB / 0.7014 GB, free: 7.152 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.6731, allocations: 11.36 kB / 0.7014 GB, free: 7.152 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001597/0.6732, allocations: 126.6 kB / 0.7015 GB, free: 7.113 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005066/0.6783, allocations: 0.7825 MB / 0.7023 GB, free: 7.02 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001744/0.68, allocations: 0.9073 MB / 0.7032 GB, free: 6.629 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002599/0.6803, allocations: 263.2 kB / 0.7034 GB, free: 6.438 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/0.6805, allocations: 80.92 kB / 0.7035 GB, free: 6.438 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002194/0.6827, allocations: 1.082 MB / 0.7046 GB, free: 6.355 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.6827, allocations: 2.25 kB / 0.7046 GB, free: 6.355 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.058e-05/0.6828, allocations: 32.27 kB / 0.7046 GB, free: 6.355 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.6828, allocations: 17.44 kB / 0.7046 GB, free: 6.355 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002012/0.6848, allocations: 0.9842 MB / 0.7056 GB, free: 6.344 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.00757/0.6924, allocations: 3.843 MB / 0.7093 GB, free: 4.449 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008077/0.7004, allocations: 2.287 MB / 0.7116 GB, free: 3.676 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001467/0.7019, allocations: 0.6176 MB / 0.7122 GB, free: 3.441 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001116/0.702, allocations: 22.41 kB / 0.7122 GB, free: 3.438 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001834/0.7039, allocations: 0.8111 MB / 0.713 GB, free: 3.129 MB / 494.1 MB Notification: Performance of pre-optimization done (n=96): time 2.805e-06/0.7039, allocations: 0.5625 kB / 0.713 GB, free: 3.129 MB / 494.1 MB Notification: Performance of matching and sorting (n=96): time 0.0288/0.7327, allocations: 7.068 MB / 0.7199 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/0.7327, allocations: 113 kB / 0.72 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001861/0.7346, allocations: 1.086 MB / 0.7211 GB, free: 232 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002797/0.7349, allocations: 42.55 kB / 0.7211 GB, free: 188 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006787/0.7355, allocations: 0.521 MB / 0.7216 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004741/0.736, allocations: 372 kB / 0.722 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000555/0.7366, allocations: 284.1 kB / 0.7222 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.7367, allocations: 306.3 kB / 0.7225 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001663/0.7384, allocations: 0.7642 MB / 0.7233 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001836/0.7402, allocations: 0.9363 MB / 0.7242 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02494/0.7651, allocations: 5.578 MB / 0.7296 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.005e-05/0.7652, allocations: 1.156 kB / 0.7296 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01649/0.7817, allocations: 4.317 MB / 0.7338 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000114/0.7818, allocations: 61.78 kB / 0.7339 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-05/0.7818, allocations: 5.719 kB / 0.7339 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005797/0.7876, allocations: 1.51 MB / 0.7354 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001708/0.7893, allocations: 296.7 kB / 0.7357 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02245/0.8118, allocations: 8.286 MB / 0.7438 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002533/0.8143, allocations: 203 kB / 0.744 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004072/0.8147, allocations: 55.97 kB / 0.744 GB, free: 1.398 MB / 0.4981 GB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.e1q:VARIABLE(start = order4.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: 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 (166): * Single equations (assignments): 163 * 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 {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001312/0.816, allocations: 304.5 kB / 0.7443 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006201/0.8166, allocations: 131.2 kB / 0.7444 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01395/0.8306, allocations: 3.843 MB / 0.7482 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.01e-05/0.8306, allocations: 12 kB / 0.7482 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-05/0.8306, allocations: 4 kB / 0.7482 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.001e-05/0.8307, allocations: 7.984 kB / 0.7482 GB, free: 13.12 MB / 0.5137 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.0171/0.8478, allocations: 5.439 MB / 0.7535 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/0.8478, allocations: 0.5 kB / 0.7535 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007167/0.8485, allocations: 101.2 kB / 0.7536 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0057/0.8542, allocations: 1.588 MB / 0.7552 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002233/0.8544, allocations: 26.55 kB / 0.7552 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02329/0.8777, allocations: 9.646 MB / 0.7646 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.8777, allocations: 0 / 0.7646 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01551/0.8932, allocations: 4.711 MB / 0.7692 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007805/0.894, allocations: 238.3 kB / 0.7694 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005702/0.8946, allocations: 16 kB / 0.7694 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001638/0.8962, allocations: 107.9 kB / 0.7695 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008296/0.8971, allocations: 196.7 kB / 0.7697 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001999/0.8973, allocations: 27.98 kB / 0.7698 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00174/0.899, allocations: 0.7274 MB / 0.7705 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.899, allocations: 0 / 0.7705 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002373/0.9014, allocations: 475.7 kB / 0.7709 GB, free: 5.512 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,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 (64): * Single equations (assignments): 61 * 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 {(19,13,24.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.01577/0.9171, allocations: 5.301 MB / 0.7761 GB, free: 212 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007334/0.9245, allocations: 2.363 MB / 0.7784 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.9245, allocations: 0 / 0.7784 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004584/0.9291, allocations: 1.526 MB / 0.7799 GB, free: 12.29 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001744/0.9308, allocations: 113.5 kB / 0.78 GB, free: 12.18 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04423/0.975, allocations: 15.99 MB / 0.7956 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001179/0.9762, allocations: 1.124 MB / 0.7967 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007729/0.977, allocations: 115.7 kB / 0.7968 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001008/0.978, allocations: 475.3 kB / 0.7973 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of SimCode: time 1.563e-06/0.978, allocations: 3.938 kB / 0.7973 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0993/1.077, allocations: 34.55 MB / 0.831 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.78/16.85, allocations: 10.5 kB / 0.831 GB, free: 8.047 MB / 0.5919 GB " [Timeout remaining time 643] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.72215072112158] Failed to read output from testmodel.py, exit status != 0: 16.970045814290643 16.993611103 16.325007506 Calling exit ...