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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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: translateModel(PowerSysPro.Examples.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.QfURegulation") translateModel(PowerSysPro.Examples.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.QfURegulation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 122.8 kB / 17.13 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 193.1 kB / 18.07 MB, free: 5.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 241.8 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04396/0.04396, allocations: 8.09 MB / 300 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 63.89 kB / 415.2 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07547/0.07672, allocations: 51.51 MB / 466.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.QfURegulation): time 0.00292/0.07967, allocations: 2.062 MB / 468.7 MB, free: 96 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002003/0.08169, allocations: 1.633 MB / 470.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.623e-05/0.0818, allocations: 4 kB / 470.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003531/0.08217, allocations: 135.2 kB / 470.5 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005594/0.08274, allocations: 234.7 kB / 470.7 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002032/0.08478, allocations: 1.214 MB / 471.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004504/0.08524, allocations: 374.5 kB / 472.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001959/0.08545, allocations: 123.6 kB / 472.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002238/0.08568, allocations: 171.5 kB / 472.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002672/0.08596, allocations: 191.2 kB / 472.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.839e-05/0.08603, allocations: 32 kB / 472.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004378/0.08647, allocations: 291.7 kB / 473.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.179e-05/0.08657, allocations: 87.73 kB / 473.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001487/0.08673, allocations: 175.1 kB / 473.4 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005935/0.08733, allocations: 0.5571 MB / 473.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.08734, allocations: 0 / 473.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.08735, allocations: 0 / 473.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.08736, allocations: 0 / 473.9 MB, free: 10.88 MB / 350.1 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.003992/0.09135, allocations: 1.104 MB / 475 MB, free: 9.723 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.09139, allocations: 12.03 kB / 475 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.8e-05/0.0915, allocations: 44.55 kB / 475.1 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003333/0.09184, allocations: 292.1 kB / 475.4 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002228/0.09207, allocations: 108.5 kB / 475.5 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.696e-05/0.09215, allocations: 28.38 kB / 475.5 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001648/0.0938, allocations: 0.7097 MB / 476.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.09383, allocations: 3.938 kB / 476.2 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.071e-05/0.09389, allocations: 19.98 kB / 476.2 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.0939, allocations: 4 kB / 476.2 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.09494, allocations: 453.4 kB / 476.7 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002062/0.09701, allocations: 1.534 MB / 478.2 MB, free: 6.332 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/0.09863, allocations: 0.7007 MB / 478.9 MB, free: 5.586 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006219/0.09927, allocations: 322.4 kB / 479.2 MB, free: 5.262 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001405/0.09942, allocations: 93.09 kB / 479.3 MB, free: 5.152 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003987/0.09983, allocations: 276.9 kB / 479.6 MB, free: 4.863 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.973e-06/0.09984, allocations: 0 / 479.6 MB, free: 4.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.003768/0.1036, allocations: 1.222 MB / 480.8 MB, free: 3.613 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.879e-05/0.1037, allocations: 148.9 kB / 480.9 MB, free: 3.438 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.1039, allocations: 223.9 kB / 481.2 MB, free: 3.207 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.847e-05/0.104, allocations: 37.7 kB / 481.2 MB, free: 3.164 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.853e-05/0.1041, allocations: 161 kB / 481.4 MB, free: 3.004 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.968e-05/0.1042, allocations: 106.5 kB / 481.5 MB, free: 2.898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.1044, allocations: 98.14 kB / 481.6 MB, free: 2.797 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.1045, allocations: 334.8 kB / 481.9 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003115/0.1048, allocations: 205 kB / 482.1 MB, free: 2.262 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003905/0.1052, allocations: 336.4 kB / 482.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007062/0.1059, allocations: 0.5414 MB / 483 MB, free: 1.293 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.1059, allocations: 4 kB / 483 MB, free: 1.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001608/0.1075, allocations: 0.7864 MB / 483.7 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.1076, allocations: 8 kB / 483.8 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.1076, allocations: 4 kB / 483.8 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002262/0.1099, allocations: 460.4 kB / 484.2 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000337/0.1102, allocations: 95.83 kB / 484.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001499/0.1117, allocations: 0.9075 MB / 485.2 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003464/0.1121, allocations: 47.53 kB / 485.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.023e-05/0.1121, allocations: 23.98 kB / 485.3 MB, free: 14.93 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (52): * Single equations (assignments): 51 * 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.0001821/0.1123, allocations: 165.7 kB / 485.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007435/0.1131, allocations: 261 kB / 485.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/0.1142, allocations: 0.5672 MB / 486.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.1142, allocations: 11.94 kB / 486.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1142, allocations: 3.984 kB / 486.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.1142, allocations: 0 / 486.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002564/0.1168, allocations: 1.393 MB / 487.7 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1168, allocations: 4 kB / 487.7 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003834/0.1172, allocations: 75.89 kB / 487.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002095/0.1193, allocations: 460.3 kB / 488.2 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.367e-05/0.1193, allocations: 12 kB / 488.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001481/0.1208, allocations: 0.9114 MB / 489.1 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.1208, allocations: 4 kB / 489.1 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00267/0.1235, allocations: 0.9931 MB / 490.1 MB, free: 9.949 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.886e-05/0.1236, allocations: 116.6 kB / 490.2 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.474e-05/0.1237, allocations: 8 kB / 490.2 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004587/0.1242, allocations: 51.89 kB / 490.3 MB, free: 9.758 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.048e-05/0.1242, allocations: 19.97 kB / 490.3 MB, free: 9.738 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.753e-05/0.1243, allocations: 16 kB / 490.3 MB, free: 9.723 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001627/0.1244, allocations: 171.1 kB / 490.5 MB, free: 9.555 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1245, allocations: 0 / 490.5 MB, free: 9.555 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004586/0.1249, allocations: 107.9 kB / 490.6 MB, free: 9.449 MB / 366.1 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.0001981/0.1251, allocations: 123.2 kB / 490.7 MB, free: 9.316 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001992/0.1271, allocations: 0.7055 MB / 491.4 MB, free: 8.609 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.1271, allocations: 0 / 491.4 MB, free: 8.609 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00117/0.1283, allocations: 328.6 kB / 491.7 MB, free: 8.289 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007623/0.1291, allocations: 161.2 kB / 491.9 MB, free: 8.129 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/0.1315, allocations: 0.8777 MB / 492.8 MB, free: 7.215 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.1318, allocations: 0.7771 MB / 493.6 MB, free: 6.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.132, allocations: 43.36 kB / 493.6 MB, free: 6.367 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.132, allocations: 0 / 493.6 MB, free: 6.367 MB / 366.1 MB Notification: Performance of Templates: time 0.008085/0.1401, allocations: 5.856 MB / 499.5 MB, free: 0.4961 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.QfURegulation.makefile (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)