Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.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.001443/0.001443, allocations: 110.6 kB / 16.46 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.452/1.452, allocations: 225.6 MB / 244.8 MB, free: 14.17 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.001575/0.001575, allocations: 191.4 kB / 299.8 MB, free: 9.848 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.5733/0.5733, allocations: 99.66 MB / 454.4 MB, free: 5.062 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.Discretization.FourthOrder_AVRII_Discrete,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002389/0.002389, allocations: 87.86 kB / 0.6074 GB, free: 9.516 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1648, allocations: 76.93 MB / 0.6825 GB, free: 12.42 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.007765/0.1726, allocations: 6.246 MB / 0.6886 GB, free: 6.141 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003821/0.1764, allocations: 1.865 MB / 0.6904 GB, free: 4.273 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005014/0.1769, allocations: 11.94 kB / 0.6904 GB, free: 4.262 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005242/0.1774, allocations: 210.1 kB / 0.6906 GB, free: 4.055 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001879/0.1793, allocations: 0.8043 MB / 0.6914 GB, free: 3.25 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001271/0.1806, allocations: 0.5912 MB / 0.692 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00164/0.1822, allocations: 1.382 MB / 0.6933 GB, free: 1.277 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003829/0.1826, allocations: 200.1 kB / 0.6935 GB, free: 1.066 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007695/0.1833, allocations: 0.5873 MB / 0.6941 GB, free: 488 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.327/0.5103, allocations: 0.7669 MB / 0.6948 GB, free: 9.23 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004554/0.5108, allocations: 104.5 kB / 0.6949 GB, free: 9.23 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006916/0.5115, allocations: 246.4 kB / 0.6952 GB, free: 9.23 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002633/0.5117, allocations: 285.2 kB / 0.6955 GB, free: 9.23 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005777/0.5123, allocations: 0.6141 MB / 0.6961 GB, free: 9.215 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001623/0.5139, allocations: 1.496 MB / 0.6975 GB, free: 8.957 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.5139, allocations: 0 / 0.6975 GB, free: 8.957 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5139, allocations: 0 / 0.6975 GB, free: 8.957 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.61e-05/0.5139, allocations: 0 / 0.6975 GB, free: 8.957 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.007884/0.5218, allocations: 2.521 MB / 0.7 GB, free: 8.066 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.5219, allocations: 8.047 kB / 0.7 GB, free: 8.066 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001405/0.522, allocations: 125 kB / 0.7001 GB, free: 8.027 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004953/0.527, allocations: 0.7749 MB / 0.7009 GB, free: 7.938 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/0.5283, allocations: 0.8059 MB / 0.7016 GB, free: 7.566 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002385/0.5285, allocations: 256.1 kB / 0.7019 GB, free: 7.375 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/0.5287, allocations: 72.78 kB / 0.702 GB, free: 7.375 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002271/0.5309, allocations: 1.169 MB / 0.7031 GB, free: 7.262 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.531, allocations: 3.75 kB / 0.7031 GB, free: 7.262 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.831e-05/0.531, allocations: 27.91 kB / 0.7031 GB, free: 7.262 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.5311, allocations: 21.59 kB / 0.7032 GB, free: 7.258 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001869/0.5329, allocations: 0.9477 MB / 0.7041 GB, free: 7.246 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.00581/0.5387, allocations: 3.566 MB / 0.7076 GB, free: 5.652 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00737/0.5461, allocations: 2.226 MB / 0.7097 GB, free: 4.922 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001454/0.5476, allocations: 0.5927 MB / 0.7103 GB, free: 4.703 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/0.5477, allocations: 16.55 kB / 0.7103 GB, free: 4.703 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.5477, allocations: 44.19 kB / 0.7104 GB, free: 4.656 MB / 494.1 MB Notification: Performance of pre-optimization done (n=92): time 3.667e-06/0.5477, allocations: 1.453 kB / 0.7104 GB, free: 4.656 MB / 494.1 MB Notification: Performance of matching and sorting (n=92): time 0.02832/0.576, allocations: 6.86 MB / 0.7171 GB, free: 3.094 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.556e-05/0.5761, allocations: 92.72 kB / 0.7172 GB, free: 2.996 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001525/0.5776, allocations: 0.9655 MB / 0.7181 GB, free: 2.441 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001915/0.5778, allocations: 45.58 kB / 0.7181 GB, free: 2.395 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002776/0.5781, allocations: 463.5 kB / 0.7186 GB, free: 1.992 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003363/0.5784, allocations: 329.7 kB / 0.7189 GB, free: 1.715 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004424/0.5789, allocations: 260.3 kB / 0.7192 GB, free: 1.555 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.157e-05/0.5789, allocations: 306.2 kB / 0.7194 GB, free: 1.254 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00135/0.5803, allocations: 0.6965 MB / 0.7201 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001385/0.5817, allocations: 0.9118 MB / 0.721 GB, free: 320 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02178/0.6034, allocations: 5.07 MB / 0.726 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.727e-05/0.6035, allocations: 2.25 kB / 0.726 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.01323/0.6167, allocations: 4.121 MB / 0.73 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.484e-05/0.6167, allocations: 12.17 kB / 0.73 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/0.6167, allocations: 6.5 kB / 0.73 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0055/0.6222, allocations: 1.518 MB / 0.7315 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.6236, allocations: 258.1 kB / 0.7317 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01935/0.6429, allocations: 8.277 MB / 0.7398 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001822/0.6447, allocations: 183 kB / 0.74 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/0.6449, allocations: 59.97 kB / 0.7401 GB, free: 5.672 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: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vf,aVRTypeII.vr2,aVRTypeII.vr1,aVRTypeII.vm) * Top-level inputs: 0 Notification: Strong component statistics for initialization (151): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * 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.0006537/0.6455, allocations: 253.1 kB / 0.7403 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001049/0.6466, allocations: 347.6 kB / 0.7406 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01189/0.6585, allocations: 3.551 MB / 0.7441 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-05/0.6585, allocations: 12 kB / 0.7441 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.6585, allocations: 4 kB / 0.7441 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.689e-05/0.6585, allocations: 11.92 kB / 0.7441 GB, free: 1.516 MB / 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 postOpt removeSimpleEquations (simulation): time 0.01474/0.6733, allocations: 5.114 MB / 0.7491 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.6733, allocations: 0.8125 kB / 0.7491 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006165/0.6739, allocations: 105.5 kB / 0.7492 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005471/0.6794, allocations: 1.59 MB / 0.7508 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001188/0.6795, allocations: 19.98 kB / 0.7508 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02038/0.6999, allocations: 10.77 MB / 0.7613 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6999, allocations: 0 / 0.7613 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01456/0.7144, allocations: 4.584 MB / 0.7658 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005768/0.715, allocations: 216.1 kB / 0.766 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002124/0.7152, allocations: 19.94 kB / 0.766 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009947/0.7162, allocations: 91.89 kB / 0.7661 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005612/0.7168, allocations: 172.8 kB / 0.7663 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-05/0.7168, allocations: 24 kB / 0.7663 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009453/0.7178, allocations: 0.6434 MB / 0.7669 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7178, allocations: 2.625 kB / 0.7669 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001468/0.7193, allocations: 435.7 kB / 0.7673 GB, free: 9.379 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vm,aVRTypeII.vr1,aVRTypeII.vr2,aVRTypeII.vf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * 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 {(3,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01517/0.7344, allocations: 5.18 MB / 0.7724 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006144/0.7406, allocations: 2.156 MB / 0.7745 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.7406, allocations: 1.375 kB / 0.7745 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003935/0.7445, allocations: 1.265 MB / 0.7757 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001751/0.7463, allocations: 345.7 kB / 0.7761 GB, free: 448 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03783/0.7841, allocations: 14.99 MB / 0.7907 GB, free: 1.305 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007678/0.7849, allocations: 1.077 MB / 0.7917 GB, free: 204 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004393/0.7853, allocations: 108.1 kB / 0.7919 GB, free: 96 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000635/0.7859, allocations: 443.2 kB / 0.7923 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of SimCode: time 1.412e-06/0.7859, allocations: 3.938 kB / 0.7923 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07535/0.8613, allocations: 31.63 MB / 0.8232 GB, free: 280 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.65/18.51, allocations: 8.047 kB / 0.8232 GB, free: 272 kB / 0.5762 GB " [Timeout remaining time 641] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete_fmu --startTime=0 --stopTime=20 --stepSize=0.01 --timeout=50 --tolerance=0.001 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.165944441221654] Failed to read output from testmodel.py, exit status != 0: 18.62389696529135 18.639251421 18.121978023 Calling exit ...