Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.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.001057/0.001057, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00138/0.002437, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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 0.8609/0.8609, allocations: 177.2 MB / 188.2 MB, free: 4.484 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1511/1.012, allocations: 53.64 MB / 241.9 MB, free: 2.746 MB / 234.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.001235/0.001235, allocations: 139.9 kB / 242.7 MB, free: 1.887 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001599/0.002834, allocations: 487.4 kB / 243.2 MB, free: 1.43 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/package.mo): time 0.4533/0.4533, allocations: 89.06 MB / 333 MB, free: 15.52 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04413/0.4974, allocations: 30.21 MB / 363.2 MB, free: 3.199 MB / 346.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/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.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 364.6 MB, free: 1.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.095e-05/2.237e-05, allocations: 5.125 kB / 364.6 MB, free: 1.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.005106/0.005128, allocations: 5.92 MB / 370.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003469/0.008597, allocations: 1.952 MB / 372.4 MB, free: 10 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005229/0.00912, allocations: 8 kB / 372.5 MB, free: 9.992 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003821/0.009502, allocations: 226 kB / 372.7 MB, free: 9.77 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001465/0.01097, allocations: 0.8174 MB / 373.5 MB, free: 8.949 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000908/0.01188, allocations: 0.5845 MB / 374.1 MB, free: 8.363 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001561/0.01344, allocations: 1.409 MB / 375.5 MB, free: 6.949 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003174/0.01375, allocations: 198.3 kB / 375.7 MB, free: 6.738 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001204/0.01496, allocations: 1.013 MB / 376.7 MB, free: 5.711 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006506/0.01561, allocations: 0.6153 MB / 377.3 MB, free: 5.094 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001779/0.01579, allocations: 104 kB / 377.4 MB, free: 4.992 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004741/0.01626, allocations: 263.8 kB / 377.7 MB, free: 4.734 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.0164, allocations: 199.2 kB / 377.9 MB, free: 4.539 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002719/0.01667, allocations: 315.2 kB / 378.2 MB, free: 4.23 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009694/0.01764, allocations: 1.027 MB / 379.2 MB, free: 3.199 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.174e-05/0.01765, allocations: 0 / 379.2 MB, free: 3.199 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.01765, allocations: 0 / 379.2 MB, free: 3.199 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.318e-05/0.01769, allocations: 0 / 379.2 MB, free: 3.199 MB / 362.7 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.004096/0.02178, allocations: 2.797 MB / 382 MB, free: 364 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.02181, allocations: 8.031 kB / 382 MB, free: 356 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002705/0.02452, allocations: 0.9597 MB / 383 MB, free: 15.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006656/0.02518, allocations: 0.5227 MB / 383.5 MB, free: 14.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001834/0.02537, allocations: 359 kB / 383.8 MB, free: 14.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.57e-05/0.02546, allocations: 83.89 kB / 383.9 MB, free: 14.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007729/0.02623, allocations: 0.7334 MB / 384.6 MB, free: 13.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.02625, allocations: 0 / 384.6 MB, free: 13.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.688e-05/0.0263, allocations: 35.94 kB / 384.7 MB, free: 13.53 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.02631, allocations: 23.94 kB / 384.7 MB, free: 13.51 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003973/0.02671, allocations: 280.9 kB / 385 MB, free: 13.23 MB / 378.7 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.002364/0.02907, allocations: 1.78 MB / 386.8 MB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002033/0.0311, allocations: 1.038 MB / 387.8 MB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002434/0.03135, allocations: 215.6 kB / 388 MB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.268e-05/0.03142, allocations: 20.59 kB / 388 MB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.03145, allocations: 47.2 kB / 388.1 MB, free: 10.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=92): time 2.996e-06/0.03145, allocations: 4 kB / 388.1 MB, free: 10.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=92): time 0.009636/0.04109, allocations: 4.301 MB / 392.4 MB, free: 5.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/0.04116, allocations: 101.8 kB / 392.5 MB, free: 5.613 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006088/0.04177, allocations: 0.7742 MB / 393.3 MB, free: 4.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.101e-05/0.04185, allocations: 41.7 kB / 393.3 MB, free: 4.773 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.04202, allocations: 347.1 kB / 393.6 MB, free: 4.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000218/0.04224, allocations: 321.2 kB / 393.9 MB, free: 4.113 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002443/0.04248, allocations: 251.4 kB / 394.2 MB, free: 3.859 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.666e-05/0.04258, allocations: 369.7 kB / 394.6 MB, free: 3.492 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004089/0.04299, allocations: 291.9 kB / 394.8 MB, free: 3.207 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004875/0.04347, allocations: 487.6 kB / 395.3 MB, free: 2.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/0.04481, allocations: 1.244 MB / 396.6 MB, free: 1.379 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.962e-06/0.04482, allocations: 3.938 kB / 396.6 MB, free: 1.375 MB / 378.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.004501/0.04932, allocations: 2.475 MB / 399 MB, free: 14.88 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.04934, allocations: 11.94 kB / 399 MB, free: 14.87 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.04935, allocations: 4 kB / 399.1 MB, free: 14.87 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003639/0.05299, allocations: 1.489 MB / 400.5 MB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007488/0.05374, allocations: 287.6 kB / 400.8 MB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00487/0.05861, allocations: 3.356 MB / 404.2 MB, free: 9.648 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000776/0.05939, allocations: 151.2 kB / 404.3 MB, free: 9.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-05/0.05945, allocations: 35.97 kB / 404.4 MB, free: 9.465 MB / 394.7 MB Warning: Assuming fixed start value for the following 1 variables: 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: 17 * 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 (139): * Single equations (assignments): 138 * 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 {(20,11,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003459/0.0598, allocations: 177.5 kB / 404.5 MB, free: 9.281 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000404/0.0602, allocations: 238.2 kB / 404.8 MB, free: 9.039 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003517/0.06372, allocations: 2.095 MB / 406.9 MB, free: 6.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.06373, allocations: 12 kB / 406.9 MB, free: 6.918 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.06374, allocations: 4 kB / 406.9 MB, free: 6.914 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/0.06375, allocations: 7.984 kB / 406.9 MB, free: 6.906 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004502/0.06825, allocations: 2.71 MB / 409.6 MB, free: 4.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.06826, allocations: 4 kB / 409.6 MB, free: 4.156 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003418/0.0686, allocations: 131.8 kB / 409.7 MB, free: 4.027 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001717/0.06877, allocations: 115 kB / 409.8 MB, free: 3.914 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003917/0.07269, allocations: 1.559 MB / 411.4 MB, free: 2.348 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/0.07279, allocations: 16 kB / 411.4 MB, free: 2.332 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005654/0.07844, allocations: 6.168 MB / 417.6 MB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.07845, allocations: 0 / 417.6 MB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004346/0.08279, allocations: 2.324 MB / 419.9 MB, free: 9.578 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/0.08298, allocations: 16 kB / 419.9 MB, free: 9.562 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004094/0.08339, allocations: 67.94 kB / 420 MB, free: 9.496 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003226/0.08371, allocations: 172.7 kB / 420.2 MB, free: 9.328 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.438e-05/0.08375, allocations: 20 kB / 420.2 MB, free: 9.309 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003234/0.08407, allocations: 395.9 kB / 420.6 MB, free: 8.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 3e-08/0.08407, allocations: 0 / 420.6 MB, free: 8.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00101/0.08508, allocations: 439.6 kB / 421 MB, free: 8.48 MB / 410.7 MB 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.0002238/0.0853, allocations: 124.2 kB / 421.1 MB, free: 8.348 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00204/0.08734, allocations: 1.356 MB / 422.5 MB, free: 6.977 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.449e-05/0.08737, allocations: 13 kB / 422.5 MB, free: 6.965 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001214/0.08858, allocations: 0.8382 MB / 423.3 MB, free: 6.113 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007195/0.0893, allocations: 412.9 kB / 423.7 MB, free: 5.695 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008747/0.09805, allocations: 1.829 MB / 425.6 MB, free: 3.824 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001889/0.09824, allocations: 229 kB / 425.8 MB, free: 3.582 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002931/0.09853, allocations: 99.12 kB / 425.9 MB, free: 3.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002398/0.09877, allocations: 163.4 kB / 426 MB, free: 3.32 MB / 410.7 MB Notification: Performance of SimCode: time 2.084e-06/0.09877, allocations: 0 / 426 MB, free: 3.32 MB / 410.7 MB Notification: Performance of Templates: time 0.02864/0.1274, allocations: 24.35 MB / 450.4 MB, free: 11.18 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7373165069147944]