Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/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) 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) Running command: translateModel(PhotoVoltaics.Examples.SimpleModulePolyphase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase") translateModel(PhotoVoltaics.Examples.SimpleModulePolyphase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001003/0.001004, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.162/1.162, allocations: 222.9 MB / 239.7 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 117.3 kB / 289.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.0242/0.0242, allocations: 5.397 MB / 345.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009423/0.0009423, allocations: 51.73 kB / 406.8 MB, free: 61.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06585/0.0668, allocations: 50.62 MB / 457.4 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModulePolyphase): time 0.005426/0.07226, allocations: 6.888 MB / 464.3 MB, free: 3.512 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0023/0.07458, allocations: 2.356 MB / 466.7 MB, free: 1.148 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000368/0.07496, allocations: 39.81 kB / 466.7 MB, free: 1.109 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006703/0.07564, allocations: 401.9 kB / 467.1 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000701/0.07635, allocations: 397.7 kB / 467.5 MB, free: 332 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005049/0.07687, allocations: 383.6 kB / 467.9 MB, free: 15.95 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001722/0.0786, allocations: 2.218 MB / 470.1 MB, free: 13.72 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002022/0.08063, allocations: 2.135 MB / 472.2 MB, free: 11.52 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000767/0.08141, allocations: 0.9263 MB / 473.1 MB, free: 10.59 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001181/0.0826, allocations: 1.245 MB / 474.4 MB, free: 9.344 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002527/0.08286, allocations: 192 kB / 474.6 MB, free: 9.156 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003434/0.08321, allocations: 200 kB / 474.8 MB, free: 8.961 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005076/0.08373, allocations: 0.623 MB / 475.4 MB, free: 8.336 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008937/0.08463, allocations: 1.143 MB / 476.5 MB, free: 7.188 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002414/0.08705, allocations: 3.466 MB / 480 MB, free: 3.711 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.08707, allocations: 0 / 480 MB, free: 3.711 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.08707, allocations: 0 / 480 MB, free: 3.711 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.108e-05/0.0871, allocations: 0 / 480 MB, free: 3.711 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 529 * Number of variables: 529 Notification: Performance of Generate backend data structure: time 0.004693/0.0918, allocations: 2.765 MB / 482.8 MB, free: 0.875 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.09184, allocations: 8.875 kB / 482.8 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004235/0.09227, allocations: 246 kB / 483 MB, free: 0.625 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1396/0.2319, allocations: 1.478 MB / 484.5 MB, free: 30.65 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/0.2321, allocations: 153.7 kB / 484.6 MB, free: 30.58 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005352/0.2327, allocations: 199.9 kB / 484.8 MB, free: 30.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004761/0.2374, allocations: 2.667 MB / 487.5 MB, free: 29.42 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.231e-05/0.2375, allocations: 4.562 kB / 487.5 MB, free: 29.42 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001764/0.2377, allocations: 84.31 kB / 487.6 MB, free: 29.36 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.235e-05/0.2377, allocations: 93.55 kB / 487.7 MB, free: 29.34 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003506/0.2412, allocations: 2.204 MB / 489.9 MB, free: 28.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0108/0.2521, allocations: 7.94 MB / 497.8 MB, free: 24.01 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/0.2537, allocations: 1.212 MB / 499 MB, free: 23.18 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007865/0.2545, allocations: 0.4996 MB / 499.5 MB, free: 22.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.831e-05/0.2546, allocations: 10.47 kB / 499.5 MB, free: 22.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007747/0.2554, allocations: 0.5167 MB / 0.4883 GB, free: 22.61 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 2.775e-06/0.2554, allocations: 0 / 0.4883 GB, free: 22.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=67): time 0.004634/0.26, allocations: 1.806 MB / 0.4901 GB, free: 21.68 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.2601, allocations: 145.8 kB / 0.4902 GB, free: 21.51 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/0.2614, allocations: 1.069 MB / 0.4913 GB, free: 20.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.321e-05/0.2614, allocations: 42.11 kB / 0.4913 GB, free: 20.87 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004826/0.2619, allocations: 0.9627 MB / 0.4923 GB, free: 20.04 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001454/0.2621, allocations: 234.4 kB / 0.4925 GB, free: 19.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002593/0.2623, allocations: 187 kB / 0.4927 GB, free: 19.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.647e-05/0.2624, allocations: 343.9 kB / 0.493 GB, free: 19.39 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007767/0.2632, allocations: 458 kB / 0.4934 GB, free: 19.17 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009511/0.2642, allocations: 0.7272 MB / 0.4941 GB, free: 18.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001647/0.2658, allocations: 1.247 MB / 0.4954 GB, free: 17.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.299e-05/0.2658, allocations: 2.969 kB / 0.4954 GB, free: 17.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002496/0.2683, allocations: 1.401 MB / 0.4967 GB, free: 16.96 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.437e-05/0.2684, allocations: 43.39 kB / 0.4968 GB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.2684, allocations: 7.844 kB / 0.4968 GB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004381/0.2689, allocations: 85.62 kB / 0.4969 GB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008646/0.2697, allocations: 254.5 kB / 0.4971 GB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/0.2708, allocations: 1.479 MB / 0.4985 GB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000833/0.2716, allocations: 143.1 kB / 0.4987 GB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.661e-05/0.2717, allocations: 40 kB / 0.4987 GB, free: 14.86 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001234/0.2729, allocations: 0.9898 MB / 0.4997 GB, free: 13.87 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007164/0.2737, allocations: 0.7242 MB / 0.5004 GB, free: 13.03 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001355/0.275, allocations: 1.223 MB / 0.5016 GB, free: 11.67 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.678e-06/0.2751, allocations: 0 / 0.5016 GB, free: 11.67 MB / 314.7 MB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.002077/0.2771, allocations: 1.389 MB / 0.5029 GB, free: 10.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.2772, allocations: 33.7 kB / 0.503 GB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.2772, allocations: 14.41 kB / 0.503 GB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003701/0.2776, allocations: 84.97 kB / 0.5031 GB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008052/0.2784, allocations: 243.6 kB / 0.5033 GB, free: 9.891 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009476/0.2793, allocations: 1.476 MB / 0.5047 GB, free: 8.277 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007862/0.2801, allocations: 123.4 kB / 0.5049 GB, free: 8.156 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-05/0.2802, allocations: 43.98 kB / 0.5049 GB, free: 8.113 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 12 (mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,mpTracker.sampleTrigger,$whenCondition1,mpTracker.vRef,$PRE.mpTracker.vRef,converter.integratorOmega.local_reset,converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001985/0.2804, allocations: 285.2 kB / 0.5052 GB, free: 7.824 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/0.2806, allocations: 114.6 kB / 0.5053 GB, free: 7.711 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003068/0.2837, allocations: 1.388 MB / 0.5066 GB, free: 6.301 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.2837, allocations: 8 kB / 0.5067 GB, free: 6.293 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.2837, allocations: 0 / 0.5067 GB, free: 6.293 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.2837, allocations: 3.984 kB / 0.5067 GB, free: 6.289 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003968/0.2877, allocations: 2.934 MB / 0.5095 GB, free: 3.293 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.2877, allocations: 0 / 0.5095 GB, free: 3.293 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000546/0.2882, allocations: 135.7 kB / 0.5096 GB, free: 3.164 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004622/0.2887, allocations: 258.4 kB / 0.5099 GB, free: 2.902 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.667e-05/0.2888, allocations: 23.98 kB / 0.5099 GB, free: 2.879 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000726/0.2895, allocations: 0.8309 MB / 0.5107 GB, free: 2.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2895, allocations: 0 / 0.5107 GB, free: 2.02 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01578/0.3053, allocations: 8.995 MB / 0.5195 GB, free: 8.863 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004082/0.3057, allocations: 275.6 kB / 0.5198 GB, free: 8.574 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.3059, allocations: 16 kB / 0.5198 GB, free: 8.559 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006159/0.3065, allocations: 75.83 kB / 0.5199 GB, free: 8.488 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.3066, allocations: 48.48 kB / 0.5199 GB, free: 8.441 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.863e-05/0.3067, allocations: 19.98 kB / 0.5199 GB, free: 8.422 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008827/0.3076, allocations: 0.7255 MB / 0.5206 GB, free: 7.688 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3076, allocations: 0 / 0.5206 GB, free: 7.688 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002031/0.3096, allocations: 1.034 MB / 0.5216 GB, free: 6.648 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (converter.integrator.y,converter.integratorOmega.y,converter.firstOrder[1].y,converter.firstOrder[2].y,converter.firstOrder[3].y) * Number of discrete variables: 6 ($whenCondition1,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef) * Number of discrete states: 7 (mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 62 * 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 {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001707/0.3098, allocations: 131.2 kB / 0.5218 GB, free: 6.512 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003239/0.313, allocations: 2.042 MB / 0.5238 GB, free: 4.418 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.313, allocations: 0 / 0.5238 GB, free: 4.418 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009096/0.314, allocations: 0.5691 MB / 0.5243 GB, free: 3.836 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.3151, allocations: 255.2 kB / 0.5246 GB, free: 3.594 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006233/0.3214, allocations: 4.781 MB / 0.5292 GB, free: 14.76 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001332/0.3227, allocations: 1.718 MB / 0.5309 GB, free: 13 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001166/0.3239, allocations: 396.4 kB / 0.5313 GB, free: 12.61 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002986/0.3242, allocations: 87.41 kB / 0.5314 GB, free: 12.52 MB / 346.7 MB Notification: Performance of SimCode: time 6.22e-07/0.3242, allocations: 0 / 0.5314 GB, free: 12.52 MB / 346.7 MB Notification: Performance of Templates: time 0.02537/0.3496, allocations: 17.01 MB / 0.548 GB, free: 11.68 MB / 362.7 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.pipe 2>&1)