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/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/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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008278/0.008278, allocations: 100.7 kB / 15.73 MB, free: 6.039 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.001858/0.001858, allocations: 186.8 kB / 16.67 MB, free: 5.977 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1636/0.1636, allocations: 5.384 MB / 295.9 MB, free: 2.84 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 76.08 kB / 409.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3048, allocations: 50.61 MB / 459.9 MB, free: 19.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModulePolyphase): time 0.008621/0.3135, allocations: 6.903 MB / 466.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006253/0.3198, allocations: 2.388 MB / 469.2 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002052/0.3218, allocations: 48.28 kB / 469.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001656/0.3235, allocations: 459.7 kB / 469.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002446/0.3261, allocations: 455.7 kB / 470.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.3274, allocations: 431.7 kB / 470.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002948/0.3304, allocations: 2.209 MB / 472.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002794/0.3332, allocations: 2.483 MB / 475.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001998/0.3352, allocations: 1.074 MB / 476.3 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002042/0.3372, allocations: 1.318 MB / 477.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005522/0.3378, allocations: 313.4 kB / 477.9 MB, free: 8.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007406/0.3386, allocations: 335.8 kB / 478.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006813/0.3393, allocations: 0.7532 MB / 479 MB, free: 8.352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001297/0.3406, allocations: 1.272 MB / 480.3 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004163/0.3447, allocations: 3.62 MB / 483.9 MB, free: 5.426 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.3448, allocations: 0 / 483.9 MB, free: 5.426 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.3448, allocations: 0 / 483.9 MB, free: 5.426 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.934e-05/0.3449, allocations: 5.344 kB / 483.9 MB, free: 5.422 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: 529 * Number of variables: 529 Notification: Performance of Generate backend data structure: time 0.006004/0.3509, allocations: 2.753 MB / 486.7 MB, free: 3.508 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.3509, allocations: 9.844 kB / 486.7 MB, free: 3.508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005538/0.3515, allocations: 246.2 kB / 486.9 MB, free: 3.383 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002527/0.354, allocations: 1.527 MB / 488.5 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.911e-05/0.3541, allocations: 155.8 kB / 488.6 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003191/0.3545, allocations: 200.8 kB / 488.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004251/0.3587, allocations: 2.667 MB / 491.5 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.973e-05/0.3588, allocations: 5.281 kB / 491.5 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001804/0.359, allocations: 81.91 kB / 491.6 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.77e-05/0.3591, allocations: 83.58 kB / 491.6 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004118/0.3632, allocations: 2.213 MB / 493.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01176/0.375, allocations: 7.858 MB / 0.49 GB, free: 7.312 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001955/0.3769, allocations: 1.213 MB / 0.4911 GB, free: 6.016 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009016/0.3779, allocations: 0.4983 MB / 0.4916 GB, free: 5.512 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.739e-05/0.3779, allocations: 12.48 kB / 0.4916 GB, free: 5.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009139/0.3788, allocations: 0.5234 MB / 0.4921 GB, free: 4.961 MB / 366.1 MB Notification: Performance of pre-optimization done (n=67): time 2.374e-06/0.3789, allocations: 0 / 0.4921 GB, free: 4.961 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.005361/0.3842, allocations: 1.809 MB / 0.4939 GB, free: 3.117 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.778e-05/0.3843, allocations: 145.1 kB / 0.494 GB, free: 2.945 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001483/0.3858, allocations: 1.056 MB / 0.4951 GB, free: 1.871 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.222e-05/0.3859, allocations: 37.7 kB / 0.4951 GB, free: 1.828 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009516/0.3868, allocations: 0.9688 MB / 0.4961 GB, free: 0.8438 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002214/0.3871, allocations: 236.7 kB / 0.4963 GB, free: 0.6094 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002842/0.3874, allocations: 186.5 kB / 0.4965 GB, free: 432 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.3875, allocations: 345.9 kB / 0.4968 GB, free: 80 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008451/0.3884, allocations: 460.6 kB / 0.4972 GB, free: 15.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009827/0.3894, allocations: 0.7242 MB / 0.4979 GB, free: 14.78 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00193/0.3913, allocations: 1.247 MB / 0.4992 GB, free: 13.4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/0.3913, allocations: 3.938 kB / 0.4992 GB, free: 13.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002988/0.3943, allocations: 1.397 MB / 0.5005 GB, free: 11.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.594e-05/0.3944, allocations: 41.7 kB / 0.5006 GB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.3944, allocations: 16.12 kB / 0.5006 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005114/0.3949, allocations: 84.78 kB / 0.5007 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.3959, allocations: 247.6 kB / 0.5009 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001555/0.3975, allocations: 1.589 MB / 0.5025 GB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.3986, allocations: 142.9 kB / 0.5026 GB, free: 9.723 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.297e-05/0.3987, allocations: 39.98 kB / 0.5026 GB, free: 9.684 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001945/0.4006, allocations: 1.002 MB / 0.5036 GB, free: 8.676 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009688/0.4016, allocations: 0.7164 MB / 0.5043 GB, free: 7.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001747/0.4034, allocations: 1.223 MB / 0.5055 GB, free: 6.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.119e-06/0.4034, allocations: 7.938 kB / 0.5055 GB, free: 6.473 MB / 382.1 MB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.002518/0.4059, allocations: 1.385 MB / 0.5069 GB, free: 5.066 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/0.406, allocations: 39.88 kB / 0.5069 GB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.406, allocations: 8 kB / 0.5069 GB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004492/0.4064, allocations: 88.78 kB / 0.507 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009488/0.4074, allocations: 243.8 kB / 0.5072 GB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001379/0.4088, allocations: 1.582 MB / 0.5088 GB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009047/0.4097, allocations: 123.3 kB / 0.5089 GB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.677e-05/0.4098, allocations: 43.98 kB / 0.5089 GB, free: 2.801 MB / 382.1 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.000297/0.4101, allocations: 276.7 kB / 0.5092 GB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/0.4103, allocations: 114.6 kB / 0.5093 GB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003862/0.4141, allocations: 1.384 MB / 0.5107 GB, free: 1 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.4141, allocations: 12 kB / 0.5107 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.4141, allocations: 0 / 0.5107 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.4142, allocations: 3.984 kB / 0.5107 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004964/0.4191, allocations: 2.929 MB / 0.5135 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.423e-06/0.4192, allocations: 0 / 0.5135 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006377/0.4198, allocations: 139.7 kB / 0.5137 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000605/0.4204, allocations: 254.4 kB / 0.5139 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.228e-05/0.4205, allocations: 27.92 kB / 0.5139 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00102/0.4215, allocations: 0.8311 MB / 0.5147 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4215, allocations: 0 / 0.5147 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003421/0.425, allocations: 1.79 MB / 0.5165 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004733/0.4254, allocations: 275.5 kB / 0.5168 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001558/0.4256, allocations: 24 kB / 0.5168 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006918/0.4263, allocations: 71.91 kB / 0.5168 GB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/0.4265, allocations: 44.5 kB / 0.5169 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.199e-05/0.4265, allocations: 23.92 kB / 0.5169 GB, free: 10.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009846/0.4275, allocations: 0.7255 MB / 0.5176 GB, free: 9.691 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4275, allocations: 8 kB / 0.5176 GB, free: 9.684 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001963/0.4295, allocations: 0.8466 MB / 0.5185 GB, free: 8.832 MB / 398.1 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.0002257/0.4297, allocations: 122.1 kB / 0.5186 GB, free: 8.703 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003522/0.4333, allocations: 2.048 MB / 0.5206 GB, free: 6.605 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4333, allocations: 0 / 0.5206 GB, free: 6.605 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009428/0.4342, allocations: 0.577 MB / 0.5211 GB, free: 6.02 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.4355, allocations: 262.6 kB / 0.5214 GB, free: 5.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005866/0.4413, allocations: 3.359 MB / 0.5247 GB, free: 2.371 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001364/0.4427, allocations: 1.71 MB / 0.5263 GB, free: 0.625 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001022/0.4438, allocations: 376.3 kB / 0.5267 GB, free: 260 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002424/0.444, allocations: 79.42 kB / 0.5268 GB, free: 184 kB / 398.1 MB Notification: Performance of SimCode: time 8.42e-07/0.444, allocations: 0 / 0.5268 GB, free: 184 kB / 398.1 MB Notification: Performance of Templates: time 0.02812/0.4721, allocations: 15.43 MB / 0.5418 GB, free: 0.875 MB / 414.1 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)