Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.QfURegulation.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.001449/0.001449, allocations: 84.23 kB / 20.25 MB, free: 4.188 MB / 18.57 MB " [Timeout remaining time 180] 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.001506/0.001506, allocations: 157.7 kB / 23.56 MB, free: 0.8789 MB / 18.57 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 1.452/1.452, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.04072/0.04072, allocations: 4.472 MB / 264.8 MB, free: 8.59 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(PowerSysPro.Examples.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.QfURegulation") translateModel(PowerSysPro.Examples.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.QfURegulation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 335.7 MB, free: 13.63 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.961e-05/3.109e-05, allocations: 8.922 kB / 335.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.QfURegulation): time 0.002422/0.002453, allocations: 1.837 MB / 337.6 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001835/0.004288, allocations: 1.625 MB / 339.2 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.0044, allocations: 7.938 kB / 339.2 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003609/0.004761, allocations: 143.1 kB / 339.3 MB, free: 9.996 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005645/0.005325, allocations: 230.5 kB / 339.6 MB, free: 9.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.006985, allocations: 1.119 MB / 340.7 MB, free: 8.648 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003419/0.007327, allocations: 378.4 kB / 341.1 MB, free: 8.277 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.007471, allocations: 77.11 kB / 341.1 MB, free: 8.199 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002634/0.007735, allocations: 231.5 kB / 341.4 MB, free: 7.973 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002324/0.007967, allocations: 155.5 kB / 341.5 MB, free: 7.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.724e-05/0.008014, allocations: 32 kB / 341.5 MB, free: 7.789 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003699/0.008384, allocations: 287.6 kB / 341.8 MB, free: 7.508 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.431e-05/0.008458, allocations: 91.66 kB / 341.9 MB, free: 7.418 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.008562, allocations: 119.7 kB / 342 MB, free: 7.301 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005326/0.009095, allocations: 0.5998 MB / 342.6 MB, free: 6.699 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.0091, allocations: 4 kB / 342.6 MB, free: 6.695 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.009101, allocations: 0 / 342.6 MB, free: 6.695 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.009107, allocations: 0 / 342.6 MB, free: 6.695 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003581/0.01269, allocations: 1.049 MB / 343.7 MB, free: 5.609 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.01272, allocations: 12.03 kB / 343.7 MB, free: 5.598 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.01286, allocations: 60.7 kB / 343.8 MB, free: 5.539 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.01316, allocations: 233.6 kB / 344 MB, free: 5.285 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002088/0.01337, allocations: 233.1 kB / 344.2 MB, free: 5.016 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.484e-05/0.01342, allocations: 36.38 kB / 344.2 MB, free: 4.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.01486, allocations: 0.8443 MB / 345.1 MB, free: 4.078 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.01487, allocations: 8.172 kB / 345.1 MB, free: 4.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.235e-05/0.01491, allocations: 16.38 kB / 345.1 MB, free: 4.055 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.01492, allocations: 12.06 kB / 345.1 MB, free: 4.043 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008633/0.01579, allocations: 453.8 kB / 345.6 MB, free: 3.602 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001629/0.01741, allocations: 1.046 MB / 346.6 MB, free: 2.516 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001337/0.01875, allocations: 0.5951 MB / 347.2 MB, free: 1.895 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005036/0.01925, allocations: 298.9 kB / 347.5 MB, free: 1.594 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/0.01936, allocations: 8 kB / 347.5 MB, free: 1.586 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000355/0.01971, allocations: 383.6 kB / 347.9 MB, free: 1.168 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.482e-06/0.01971, allocations: 0 / 347.9 MB, free: 1.168 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.00344/0.02315, allocations: 1.159 MB / 349 MB, free: 16 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/0.02328, allocations: 140.5 kB / 349.2 MB, free: 15.83 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000295/0.02357, allocations: 235 kB / 349.4 MB, free: 15.59 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.59e-05/0.02363, allocations: 33.7 kB / 349.4 MB, free: 15.55 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.02377, allocations: 157.2 kB / 349.6 MB, free: 15.39 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.02389, allocations: 119.1 kB / 349.7 MB, free: 15.28 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001607/0.02406, allocations: 74.19 kB / 349.8 MB, free: 15.2 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002092/0.02426, allocations: 334.8 kB / 350.1 MB, free: 14.86 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003883/0.02465, allocations: 200.9 kB / 350.3 MB, free: 14.67 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004257/0.02508, allocations: 272.2 kB / 350.6 MB, free: 14.37 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007899/0.02587, allocations: 451.5 kB / 351 MB, free: 13.91 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.02587, allocations: 0 / 351 MB, free: 13.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001793/0.02766, allocations: 0.7094 MB / 351.7 MB, free: 13.2 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.02769, allocations: 10.91 kB / 351.7 MB, free: 13.19 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.02769, allocations: 0 / 351.7 MB, free: 13.19 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002427/0.03012, allocations: 464.3 kB / 352.2 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/0.03041, allocations: 63.91 kB / 352.2 MB, free: 12.67 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001913/0.03233, allocations: 0.9115 MB / 353.2 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003281/0.03265, allocations: 39.67 kB / 353.2 MB, free: 11.69 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.165e-05/0.0327, allocations: 15.98 kB / 353.2 MB, free: 11.68 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (varLoad.degradedMode,$PRE.varLoad.degradedMode,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002378/0.03293, allocations: 157.7 kB / 353.4 MB, free: 11.51 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008165/0.03375, allocations: 269.3 kB / 353.6 MB, free: 11.24 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/0.03504, allocations: 0.5686 MB / 354.2 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/0.03505, allocations: 8 kB / 354.2 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.03506, allocations: 0 / 354.2 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.03507, allocations: 3.984 kB / 354.2 MB, free: 10.65 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002904/0.03797, allocations: 1.218 MB / 355.4 MB, free: 9.395 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.03798, allocations: 0 / 355.4 MB, free: 9.395 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004033/0.03838, allocations: 87.81 kB / 355.5 MB, free: 9.309 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002265/0.04064, allocations: 456.4 kB / 356 MB, free: 8.859 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.309e-05/0.04069, allocations: 12 kB / 356 MB, free: 8.848 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002156/0.04284, allocations: 0.9194 MB / 356.9 MB, free: 7.902 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.04285, allocations: 160 / 356.9 MB, free: 7.902 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002929/0.04577, allocations: 1.01 MB / 357.9 MB, free: 6.863 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.66e-05/0.04585, allocations: 39.69 kB / 357.9 MB, free: 6.824 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.896e-05/0.04592, allocations: 11.98 kB / 358 MB, free: 6.812 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004435/0.04636, allocations: 39.95 kB / 358 MB, free: 6.773 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.04647, allocations: 27.95 kB / 358 MB, free: 6.746 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-05/0.04651, allocations: 16 kB / 358 MB, free: 6.73 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002064/0.04672, allocations: 163.3 kB / 358.2 MB, free: 6.57 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04672, allocations: 0 / 358.2 MB, free: 6.57 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004831/0.0472, allocations: 107.9 kB / 358.3 MB, free: 6.465 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,varLoad.degradedMode) * Number of discrete states: 1 (varLoad.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 37 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002852/0.04749, allocations: 135.2 kB / 358.4 MB, free: 6.324 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002073/0.04956, allocations: 0.6345 MB / 359.1 MB, free: 5.695 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.04956, allocations: 0 / 359.1 MB, free: 5.695 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001204/0.05077, allocations: 311.8 kB / 359.4 MB, free: 5.391 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000894/0.05166, allocations: 152.7 kB / 359.5 MB, free: 5.242 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002802/0.05446, allocations: 0.8488 MB / 360.4 MB, free: 4.355 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.05467, allocations: 169.4 kB / 360.5 MB, free: 4.172 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001613/0.05483, allocations: 38.94 kB / 360.6 MB, free: 4.133 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.05495, allocations: 36.48 kB / 360.6 MB, free: 4.098 MB / 282.7 MB Notification: Performance of SimCode: time 1.432e-06/0.05495, allocations: 0 / 360.6 MB, free: 4.098 MB / 282.7 MB Notification: Performance of Templates: time 0.0132/0.06815, allocations: 5.715 MB / 366.3 MB, free: 14.43 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.QfURegulation.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.QfURegulation.sim & ./PowerSysPro_PowerSysPro.Examples.QfURegulation -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.6258357329061255]