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.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.0009654/0.0009654, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001333/0.002298, 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.8476/0.8476, allocations: 177.2 MB / 188.4 MB, free: 4.406 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1393/0.9868, allocations: 53.66 MB / 242 MB, free: 2.609 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.0007762/0.0007762, allocations: 147.7 kB / 242.9 MB, free: 1.738 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00099/0.001766, allocations: 488 kB / 243.4 MB, free: 1.273 MB / 234.7 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.4136/0.4136, allocations: 89.1 MB / 333.2 MB, free: 15.53 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0381/0.4517, allocations: 30.22 MB / 363.5 MB, free: 3.066 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 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.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 364.8 MB, free: 1.723 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.578e-06/1.095e-05, allocations: 2.312 kB / 364.8 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.006579/0.00659, allocations: 5.921 MB / 370.7 MB, free: 11.83 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00401/0.0106, allocations: 1.948 MB / 372.7 MB, free: 9.875 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004495/0.01105, allocations: 12 kB / 372.7 MB, free: 9.863 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003798/0.01143, allocations: 226 kB / 372.9 MB, free: 9.641 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001129/0.01256, allocations: 0.8236 MB / 373.7 MB, free: 8.816 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007154/0.01327, allocations: 0.5806 MB / 374.3 MB, free: 8.234 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009948/0.01427, allocations: 1.409 MB / 375.7 MB, free: 6.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002372/0.01451, allocations: 198.3 kB / 375.9 MB, free: 6.609 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009124/0.01542, allocations: 1.009 MB / 376.9 MB, free: 5.586 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005049/0.01592, allocations: 0.6231 MB / 377.6 MB, free: 4.961 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.01604, allocations: 108 kB / 377.7 MB, free: 4.855 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003374/0.01638, allocations: 251.8 kB / 377.9 MB, free: 4.609 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.01651, allocations: 199.2 kB / 378.1 MB, free: 4.414 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002129/0.01672, allocations: 319.2 kB / 378.4 MB, free: 4.102 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000739/0.01746, allocations: 1.027 MB / 379.4 MB, free: 3.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.01746, allocations: 0 / 379.4 MB, free: 3.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.92e-07/0.01746, allocations: 0 / 379.4 MB, free: 3.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.33e-05/0.01748, allocations: 0 / 379.4 MB, free: 3.07 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.00377/0.02125, allocations: 2.793 MB / 382.2 MB, free: 236 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.663e-05/0.02127, allocations: 15.98 kB / 382.2 MB, free: 220 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002422/0.0237, allocations: 0.948 MB / 383.2 MB, free: 15.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005338/0.02423, allocations: 0.5305 MB / 383.7 MB, free: 14.69 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001586/0.02439, allocations: 359 kB / 384.1 MB, free: 14.28 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-05/0.02448, allocations: 79.94 kB / 384.2 MB, free: 14.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007033/0.02518, allocations: 0.7435 MB / 384.9 MB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.0252, allocations: 4 kB / 384.9 MB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.79e-05/0.02525, allocations: 28 kB / 384.9 MB, free: 13.4 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.02526, allocations: 23.94 kB / 385 MB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003721/0.02563, allocations: 292.4 kB / 385.2 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.002232/0.02786, allocations: 1.772 MB / 387 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002096/0.02996, allocations: 1.036 MB / 388 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002303/0.03019, allocations: 215.6 kB / 388.3 MB, free: 10 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.799e-05/0.03026, allocations: 20.64 kB / 388.3 MB, free: 9.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.03028, allocations: 47.16 kB / 388.3 MB, free: 9.926 MB / 378.7 MB Notification: Performance of pre-optimization done (n=92): time 1.934e-06/0.03028, allocations: 4 kB / 388.3 MB, free: 9.922 MB / 378.7 MB Notification: Performance of matching and sorting (n=92): time 0.008975/0.03925, allocations: 4.301 MB / 392.6 MB, free: 5.602 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.0393, allocations: 93.77 kB / 392.7 MB, free: 5.492 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004486/0.03975, allocations: 0.7781 MB / 393.5 MB, free: 4.695 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.235e-05/0.0398, allocations: 45.7 kB / 393.5 MB, free: 4.645 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.03995, allocations: 339.2 kB / 393.9 MB, free: 4.309 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.04011, allocations: 325.2 kB / 394.2 MB, free: 3.988 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002283/0.04034, allocations: 251.4 kB / 394.4 MB, free: 3.734 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.51e-05/0.04043, allocations: 365.8 kB / 394.8 MB, free: 3.371 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003865/0.04081, allocations: 291.9 kB / 395.1 MB, free: 3.086 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000462/0.04127, allocations: 487.6 kB / 395.6 MB, free: 2.559 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/0.04264, allocations: 1.294 MB / 396.8 MB, free: 1.207 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/0.04264, allocations: 4 kB / 396.9 MB, free: 1.203 MB / 378.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.004164/0.04681, allocations: 2.475 MB / 399.3 MB, free: 14.71 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.04682, allocations: 4 kB / 399.3 MB, free: 14.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.04683, allocations: 4 kB / 399.3 MB, free: 14.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003558/0.05039, allocations: 1.522 MB / 400.9 MB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005729/0.05096, allocations: 291.6 kB / 401.1 MB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004795/0.05575, allocations: 3.501 MB / 404.6 MB, free: 9.305 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004955/0.05625, allocations: 139.2 kB / 404.8 MB, free: 9.168 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.065e-05/0.0563, allocations: 35.98 kB / 404.8 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.0002213/0.05652, allocations: 181.5 kB / 405 MB, free: 8.945 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003636/0.05689, allocations: 242.1 kB / 405.2 MB, free: 8.699 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003597/0.06048, allocations: 2.099 MB / 407.3 MB, free: 6.586 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.06049, allocations: 15.98 kB / 407.3 MB, free: 6.57 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.06049, allocations: 4 kB / 407.3 MB, free: 6.566 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.0605, allocations: 7.984 kB / 407.4 MB, free: 6.559 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004583/0.06509, allocations: 2.705 MB / 410.1 MB, free: 3.824 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.06509, allocations: 4 kB / 410.1 MB, free: 3.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003078/0.0654, allocations: 131.9 kB / 410.2 MB, free: 3.691 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.06551, allocations: 115 kB / 410.3 MB, free: 3.578 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003586/0.06909, allocations: 1.59 MB / 411.9 MB, free: 1.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.25e-05/0.06913, allocations: 19.98 kB / 411.9 MB, free: 1.961 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005419/0.07455, allocations: 6.296 MB / 418.2 MB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.07455, allocations: 0 / 418.2 MB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003797/0.07835, allocations: 2.336 MB / 420.5 MB, free: 9.066 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.354e-05/0.07843, allocations: 23.98 kB / 420.6 MB, free: 9.043 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003447/0.07878, allocations: 67.94 kB / 420.6 MB, free: 8.977 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000248/0.07903, allocations: 160.7 kB / 420.8 MB, free: 8.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/0.07906, allocations: 23.98 kB / 420.8 MB, free: 8.797 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002558/0.07932, allocations: 399.9 kB / 421.2 MB, free: 8.395 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07932, allocations: 4 kB / 421.2 MB, free: 8.391 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006622/0.07998, allocations: 431.7 kB / 421.6 MB, free: 7.969 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.0001665/0.08014, allocations: 120.2 kB / 421.7 MB, free: 7.844 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001726/0.08187, allocations: 1.347 MB / 423.1 MB, free: 6.488 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.541e-05/0.08189, allocations: 24.03 kB / 423.1 MB, free: 6.465 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001204/0.08309, allocations: 0.8822 MB / 424 MB, free: 5.555 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006814/0.08377, allocations: 0.5442 MB / 424.5 MB, free: 4.969 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007755/0.09153, allocations: 1.826 MB / 426.4 MB, free: 3.113 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.09165, allocations: 221.1 kB / 426.6 MB, free: 2.871 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001703/0.09182, allocations: 99.25 kB / 426.7 MB, free: 2.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002288/0.09205, allocations: 171.3 kB / 426.9 MB, free: 2.602 MB / 410.7 MB Notification: Performance of SimCode: time 3.71e-07/0.09205, allocations: 0 / 426.9 MB, free: 2.602 MB / 410.7 MB Notification: Performance of Templates: time 0.02352/0.1156, allocations: 24.79 MB / 451.6 MB, free: 10.03 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.makefile [Timeout 660] (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 & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4530626386404037]