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.009883/0.009882, allocations: 106.8 kB / 15.74 MB, free: 6.051 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.001766/0.001766, allocations: 191.1 kB / 16.67 MB, free: 5.98 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.2049/0.2049, allocations: 5.382 MB / 295.9 MB, free: 2.844 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 63.91 kB / 409.3 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3683, allocations: 50.61 MB / 459.9 MB, free: 19.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModulePolyphase): time 0.008558/0.3769, allocations: 6.909 MB / 466.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00531/0.3822, allocations: 2.397 MB / 469.2 MB, free: 13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008327/0.3831, allocations: 44.22 kB / 469.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00118/0.3843, allocations: 481.4 kB / 469.7 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001873/0.3862, allocations: 478.2 kB / 470.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.3873, allocations: 438.7 kB / 470.6 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002965/0.3903, allocations: 2.202 MB / 472.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003497/0.3938, allocations: 2.483 MB / 475.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002117/0.3959, allocations: 1.074 MB / 476.4 MB, free: 9.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002132/0.3981, allocations: 1.324 MB / 477.7 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004877/0.3986, allocations: 312.9 kB / 478 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006662/0.3992, allocations: 332.5 kB / 478.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007962/0.4, allocations: 0.7455 MB / 479.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001512/0.4016, allocations: 1.275 MB / 480.3 MB, free: 7.434 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005766/0.4073, allocations: 3.62 MB / 484 MB, free: 5.383 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.4074, allocations: 5.25 kB / 484 MB, free: 5.379 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.4074, allocations: 0 / 484 MB, free: 5.379 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.546e-05/0.4075, allocations: 0 / 484 MB, free: 5.379 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.007204/0.4147, allocations: 2.753 MB / 486.7 MB, free: 3.465 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.242e-05/0.4148, allocations: 10.47 kB / 486.7 MB, free: 3.465 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007711/0.4155, allocations: 246.7 kB / 487 MB, free: 3.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002862/0.4184, allocations: 1.523 MB / 488.5 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001592/0.4186, allocations: 150.9 kB / 488.6 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003453/0.4189, allocations: 210.3 kB / 488.8 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00503/0.424, allocations: 2.663 MB / 491.5 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.122e-05/0.424, allocations: 5.125 kB / 491.5 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001859/0.4242, allocations: 81.44 kB / 491.6 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001084/0.4243, allocations: 87.05 kB / 491.7 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004449/0.4288, allocations: 2.211 MB / 493.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01225/0.4411, allocations: 7.859 MB / 0.49 GB, free: 7.293 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002068/0.4432, allocations: 1.216 MB / 0.4912 GB, free: 5.996 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009117/0.4441, allocations: 0.4944 MB / 0.4917 GB, free: 5.496 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.995e-05/0.4441, allocations: 16.5 kB / 0.4917 GB, free: 5.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009869/0.4451, allocations: 0.5195 MB / 0.4922 GB, free: 4.945 MB / 366.1 MB Notification: Performance of pre-optimization done (n=67): time 5.32e-06/0.4452, allocations: 4 kB / 0.4922 GB, free: 4.941 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.005174/0.4503, allocations: 1.809 MB / 0.494 GB, free: 3.098 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.201e-05/0.4504, allocations: 141.1 kB / 0.4941 GB, free: 2.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001551/0.452, allocations: 1.056 MB / 0.4951 GB, free: 1.855 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.43e-05/0.4521, allocations: 41.69 kB / 0.4952 GB, free: 1.809 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009957/0.4531, allocations: 0.9726 MB / 0.4961 GB, free: 0.8203 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002336/0.4533, allocations: 232.8 kB / 0.4963 GB, free: 0.5898 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000324/0.4537, allocations: 182.5 kB / 0.4965 GB, free: 416 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002027/0.4539, allocations: 349.9 kB / 0.4968 GB, free: 60 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009367/0.4548, allocations: 460.5 kB / 0.4973 GB, free: 15.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001129/0.456, allocations: 0.7281 MB / 0.498 GB, free: 14.76 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00203/0.458, allocations: 1.239 MB / 0.4992 GB, free: 13.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/0.458, allocations: 8 kB / 0.4992 GB, free: 13.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002829/0.4609, allocations: 1.401 MB / 0.5006 GB, free: 11.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.079e-05/0.4609, allocations: 39.72 kB / 0.5006 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.4609, allocations: 8 kB / 0.5006 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004839/0.4614, allocations: 92.72 kB / 0.5007 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.4625, allocations: 247.8 kB / 0.5009 GB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/0.4642, allocations: 1.585 MB / 0.5025 GB, free: 9.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.4653, allocations: 151 kB / 0.5026 GB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.259e-05/0.4653, allocations: 43.94 kB / 0.5027 GB, free: 9.656 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001947/0.4673, allocations: 0.9898 MB / 0.5036 GB, free: 8.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009817/0.4683, allocations: 0.7281 MB / 0.5044 GB, free: 7.812 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001838/0.4701, allocations: 1.223 MB / 0.5055 GB, free: 6.453 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.158e-06/0.4702, allocations: 0 / 0.5055 GB, free: 6.453 MB / 382.1 MB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.002574/0.4727, allocations: 1.385 MB / 0.5069 GB, free: 5.047 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.031e-05/0.4728, allocations: 37.7 kB / 0.5069 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.4728, allocations: 8 kB / 0.5069 GB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004207/0.4732, allocations: 84.97 kB / 0.507 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009651/0.4742, allocations: 243.6 kB / 0.5073 GB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/0.4757, allocations: 1.578 MB / 0.5088 GB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000973/0.4767, allocations: 127.3 kB / 0.5089 GB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.35e-05/0.4768, allocations: 43.98 kB / 0.509 GB, free: 2.785 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.0003588/0.4772, allocations: 280.7 kB / 0.5092 GB, free: 2.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002231/0.4774, allocations: 110.6 kB / 0.5093 GB, free: 2.391 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003892/0.4813, allocations: 1.396 MB / 0.5107 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.4813, allocations: 4 kB / 0.5107 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.4813, allocations: 4 kB / 0.5107 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.4814, allocations: 3.984 kB / 0.5107 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006675/0.488, allocations: 2.925 MB / 0.5136 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.4881, allocations: 3.938 kB / 0.5136 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006477/0.4887, allocations: 139.8 kB / 0.5137 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000681/0.4894, allocations: 258.4 kB / 0.514 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/0.4895, allocations: 23.92 kB / 0.514 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001196/0.4907, allocations: 0.8272 MB / 0.5148 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.4907, allocations: 0 / 0.5148 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003316/0.4941, allocations: 1.801 MB / 0.5165 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005519/0.4946, allocations: 275.5 kB / 0.5168 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003091/0.495, allocations: 20 kB / 0.5168 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008494/0.4958, allocations: 63.92 kB / 0.5169 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/0.496, allocations: 44.5 kB / 0.5169 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.997e-05/0.4961, allocations: 31.92 kB / 0.517 GB, free: 10.4 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001372/0.4974, allocations: 0.7294 MB / 0.5177 GB, free: 9.664 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4974, allocations: 0 / 0.5177 GB, free: 9.664 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003307/0.5008, allocations: 0.8428 MB / 0.5185 GB, free: 8.816 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.000404/0.5012, allocations: 119.2 kB / 0.5186 GB, free: 8.688 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004392/0.5056, allocations: 2.047 MB / 0.5206 GB, free: 6.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.5056, allocations: 0 / 0.5206 GB, free: 6.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001102/0.5067, allocations: 0.578 MB / 0.5212 GB, free: 6 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001894/0.5086, allocations: 256.6 kB / 0.5214 GB, free: 5.754 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008674/0.5173, allocations: 3.359 MB / 0.5247 GB, free: 2.355 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002492/0.5198, allocations: 1.718 MB / 0.5264 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001232/0.5211, allocations: 368.4 kB / 0.5267 GB, free: 244 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003532/0.5214, allocations: 83.41 kB / 0.5268 GB, free: 164 kB / 398.1 MB Notification: Performance of SimCode: time 1.132e-06/0.5214, allocations: 0 / 0.5268 GB, free: 164 kB / 398.1 MB Notification: Performance of Templates: time 0.03409/0.5555, allocations: 15.15 MB / 0.5416 GB, free: 1.137 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)