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.00074/0.00074, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009779/0.001718, allocations: 440 kB / 10.41 MB, free: 284 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.8752/0.8752, allocations: 177.2 MB / 188.4 MB, free: 4.418 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1804/1.056, allocations: 53.65 MB / 242 MB, free: 2.625 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.0008687/0.0008687, allocations: 147.1 kB / 242.9 MB, free: 1.75 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001417/0.002286, allocations: 487 kB / 243.4 MB, free: 1.293 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.4632/0.4632, allocations: 89.19 MB / 333.3 MB, free: 15.48 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04754/0.5108, allocations: 30.21 MB / 363.5 MB, free: 3.062 MB / 346.7 MB " [Timeout remaining time 179] 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.423e-06/1.423e-06, allocations: 0 / 364.9 MB, free: 1.715 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.324e-05/2.467e-05, allocations: 6.312 kB / 364.9 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.007068/0.007092, allocations: 5.914 MB / 370.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004894/0.01199, allocations: 1.944 MB / 372.8 MB, free: 9.875 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008107/0.0128, allocations: 12 kB / 372.8 MB, free: 9.863 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004166/0.01321, allocations: 226 kB / 373 MB, free: 9.641 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001416/0.01463, allocations: 0.8266 MB / 373.8 MB, free: 8.812 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008239/0.01545, allocations: 0.5806 MB / 374.4 MB, free: 8.23 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009777/0.01643, allocations: 1.412 MB / 375.8 MB, free: 6.812 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002558/0.01669, allocations: 202.3 kB / 376 MB, free: 6.598 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000914/0.0176, allocations: 1.009 MB / 377 MB, free: 5.574 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005112/0.01811, allocations: 0.6192 MB / 377.6 MB, free: 4.953 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001117/0.01822, allocations: 104 kB / 377.7 MB, free: 4.852 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003407/0.01856, allocations: 251.8 kB / 378 MB, free: 4.605 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.0187, allocations: 203.2 kB / 378.2 MB, free: 4.406 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002243/0.01892, allocations: 319.2 kB / 378.5 MB, free: 4.094 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008053/0.01973, allocations: 1.023 MB / 379.5 MB, free: 3.066 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.01974, allocations: 0 / 379.5 MB, free: 3.066 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.01974, allocations: 4 kB / 379.5 MB, free: 3.062 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.543e-05/0.01975, allocations: 0 / 379.5 MB, free: 3.062 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.003918/0.02367, allocations: 2.797 MB / 382.3 MB, free: 224 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.0237, allocations: 8.031 kB / 382.3 MB, free: 216 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002745/0.02645, allocations: 0.948 MB / 383.3 MB, free: 15.26 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005814/0.02703, allocations: 0.5305 MB / 383.8 MB, free: 14.69 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000187/0.02722, allocations: 355 kB / 384.2 MB, free: 14.28 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.02732, allocations: 83.95 kB / 384.2 MB, free: 14.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007626/0.02808, allocations: 0.7449 MB / 385 MB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.02809, allocations: 0 / 385 MB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.952e-05/0.02814, allocations: 28 kB / 385 MB, free: 13.4 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.02815, allocations: 23.94 kB / 385 MB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003881/0.02854, allocations: 284.9 kB / 385.3 MB, free: 13.1 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.002241/0.03078, allocations: 1.776 MB / 387.1 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001964/0.03275, allocations: 1.036 MB / 388.1 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/0.03298, allocations: 215.6 kB / 388.3 MB, free: 10 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.778e-05/0.03306, allocations: 24.64 kB / 388.4 MB, free: 9.977 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.03309, allocations: 43.16 kB / 388.4 MB, free: 9.926 MB / 378.7 MB Notification: Performance of pre-optimization done (n=92): time 1.974e-06/0.03309, allocations: 0 / 388.4 MB, free: 9.926 MB / 378.7 MB Notification: Performance of matching and sorting (n=92): time 0.008887/0.04198, allocations: 4.305 MB / 392.7 MB, free: 5.605 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.04203, allocations: 97.77 kB / 392.8 MB, free: 5.492 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000485/0.04252, allocations: 0.782 MB / 393.6 MB, free: 4.691 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.645e-05/0.04257, allocations: 45.7 kB / 393.6 MB, free: 4.641 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.04273, allocations: 339.2 kB / 394 MB, free: 4.305 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/0.04291, allocations: 321.2 kB / 394.3 MB, free: 3.988 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000233/0.04315, allocations: 251.4 kB / 394.5 MB, free: 3.734 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.696e-05/0.04324, allocations: 365.8 kB / 394.9 MB, free: 3.371 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003926/0.04364, allocations: 291.9 kB / 395.2 MB, free: 3.086 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004696/0.04411, allocations: 487.6 kB / 395.6 MB, free: 2.559 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001813/0.04592, allocations: 1.294 MB / 396.9 MB, free: 1.207 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.04592, allocations: 8 kB / 396.9 MB, free: 1.199 MB / 378.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.004305/0.05023, allocations: 2.471 MB / 399.4 MB, free: 14.71 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.05025, allocations: 7.438 kB / 399.4 MB, free: 14.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.05026, allocations: 4 kB / 399.4 MB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003618/0.05388, allocations: 1.52 MB / 400.9 MB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006038/0.05448, allocations: 287.6 kB / 401.2 MB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004865/0.05935, allocations: 3.505 MB / 404.7 MB, free: 9.305 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005425/0.05989, allocations: 143.2 kB / 404.9 MB, free: 9.164 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.228e-05/0.05994, allocations: 31.98 kB / 404.9 MB, free: 9.133 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 {(19,12,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002599/0.0602, allocations: 185.5 kB / 405.1 MB, free: 8.941 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003761/0.06058, allocations: 234.1 kB / 405.3 MB, free: 8.703 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003652/0.06423, allocations: 2.103 MB / 407.4 MB, free: 6.586 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.06424, allocations: 12 kB / 407.4 MB, free: 6.574 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.06424, allocations: 8 kB / 407.4 MB, free: 6.566 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.06425, allocations: 3.984 kB / 407.4 MB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004367/0.06862, allocations: 2.71 MB / 410.1 MB, free: 3.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.06862, allocations: 0 / 410.1 MB, free: 3.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003031/0.06892, allocations: 127.9 kB / 410.3 MB, free: 3.695 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.06903, allocations: 115 kB / 410.4 MB, free: 3.582 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003659/0.07269, allocations: 1.586 MB / 412 MB, free: 1.988 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.733e-05/0.07274, allocations: 23.92 kB / 412 MB, free: 1.965 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005797/0.07854, allocations: 6.3 MB / 418.3 MB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.07854, allocations: 0 / 418.3 MB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004499/0.08304, allocations: 2.34 MB / 420.6 MB, free: 9.062 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.08314, allocations: 19.98 kB / 420.6 MB, free: 9.043 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003911/0.08353, allocations: 67.94 kB / 420.7 MB, free: 8.977 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002869/0.08382, allocations: 168.7 kB / 420.9 MB, free: 8.812 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.06e-05/0.08386, allocations: 23.98 kB / 420.9 MB, free: 8.789 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003187/0.08418, allocations: 395.9 kB / 421.3 MB, free: 8.391 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.08418, allocations: 0 / 421.3 MB, free: 8.391 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008877/0.08507, allocations: 435.7 kB / 421.7 MB, free: 7.965 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.0002125/0.08528, allocations: 124.2 kB / 421.8 MB, free: 7.836 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001904/0.08719, allocations: 1.345 MB / 423.2 MB, free: 6.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.065e-05/0.08721, allocations: 19.94 kB / 423.2 MB, free: 6.461 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001209/0.08842, allocations: 0.8914 MB / 424.1 MB, free: 5.543 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000753/0.08917, allocations: 0.5403 MB / 424.6 MB, free: 4.961 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008049/0.09722, allocations: 1.823 MB / 426.5 MB, free: 3.105 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001617/0.09738, allocations: 221.1 kB / 426.7 MB, free: 2.863 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001948/0.09757, allocations: 95.25 kB / 426.8 MB, free: 2.766 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002389/0.09781, allocations: 167.3 kB / 426.9 MB, free: 2.602 MB / 410.7 MB Notification: Performance of SimCode: time 1.113e-06/0.09781, allocations: 4 kB / 426.9 MB, free: 2.598 MB / 410.7 MB Notification: Performance of Templates: time 0.02511/0.1229, allocations: 24.79 MB / 451.7 MB, free: 10.02 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.8533872505649924]