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.001624/0.001624, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001932/0.001932, allocations: 190.3 kB / 16.25 MB, free: 6.617 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.329/1.329, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1419/0.1419, allocations: 5.392 MB / 295.5 MB, free: 2.859 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 59.91 kB / 356.9 MB, free: 1.945 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1154, allocations: 50.61 MB / 407.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModulePolyphase): time 0.008014/0.1235, allocations: 6.884 MB / 414.4 MB, free: 8.363 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004555/0.1281, allocations: 2.34 MB / 416.8 MB, free: 6.016 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001314/0.1295, allocations: 43.81 kB / 416.8 MB, free: 5.973 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00126/0.1308, allocations: 401.8 kB / 417.2 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001932/0.1327, allocations: 389.8 kB / 417.6 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009847/0.1337, allocations: 387.6 kB / 417.9 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002418/0.1361, allocations: 2.181 MB / 420.1 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002486/0.1386, allocations: 2.483 MB / 422.6 MB, free: 76 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2126/0.3512, allocations: 1.07 MB / 423.7 MB, free: 37.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001495/0.3528, allocations: 1.329 MB / 425 MB, free: 37.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003073/0.3531, allocations: 316.1 kB / 425.3 MB, free: 37.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003912/0.3535, allocations: 329.1 kB / 425.6 MB, free: 37.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004351/0.3539, allocations: 0.7482 MB / 426.4 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008987/0.3549, allocations: 1.272 MB / 427.7 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002204/0.3571, allocations: 3.558 MB / 431.2 MB, free: 36.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3571, allocations: 5.031 kB / 431.2 MB, free: 36.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3571, allocations: 0 / 431.2 MB, free: 36.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.851e-05/0.3571, allocations: 0 / 431.2 MB, free: 36.48 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.004709/0.3619, allocations: 2.765 MB / 434 MB, free: 35.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.3619, allocations: 9.75 kB / 434 MB, free: 35.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004449/0.3624, allocations: 246 kB / 434.2 MB, free: 35.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00212/0.3645, allocations: 1.482 MB / 435.7 MB, free: 34.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.966e-05/0.3646, allocations: 161.4 kB / 435.9 MB, free: 34.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002336/0.3648, allocations: 197.2 kB / 436.1 MB, free: 34.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003559/0.3684, allocations: 2.669 MB / 438.7 MB, free: 33.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.299e-05/0.3684, allocations: 0 / 438.7 MB, free: 33.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001612/0.3686, allocations: 82.72 kB / 438.8 MB, free: 33.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-05/0.3687, allocations: 87.03 kB / 438.9 MB, free: 33.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003097/0.3718, allocations: 2.203 MB / 441.1 MB, free: 32.33 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009058/0.3809, allocations: 7.954 MB / 449.1 MB, free: 28.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/0.3824, allocations: 1.208 MB / 450.3 MB, free: 27.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007506/0.3832, allocations: 0.4979 MB / 450.8 MB, free: 27.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.781e-05/0.3833, allocations: 16.78 kB / 450.8 MB, free: 27.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000755/0.384, allocations: 0.5221 MB / 451.3 MB, free: 27.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=67): time 2.254e-06/0.384, allocations: 0 / 451.3 MB, free: 27.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.004975/0.389, allocations: 1.808 MB / 453.1 MB, free: 26.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.3891, allocations: 149.9 kB / 453.3 MB, free: 26.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/0.3904, allocations: 1.062 MB / 454.3 MB, free: 25.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.558e-05/0.3904, allocations: 36.95 kB / 454.4 MB, free: 25.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006094/0.391, allocations: 0.9618 MB / 455.3 MB, free: 25.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.3912, allocations: 237 kB / 455.6 MB, free: 24.94 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002501/0.3915, allocations: 179.8 kB / 455.7 MB, free: 24.85 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.844e-05/0.3915, allocations: 349.1 kB / 456.1 MB, free: 24.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007162/0.3923, allocations: 455.3 kB / 456.5 MB, free: 24.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008511/0.3931, allocations: 0.7334 MB / 457.2 MB, free: 23.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001553/0.3947, allocations: 1.244 MB / 458.5 MB, free: 23.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.3947, allocations: 0 / 458.5 MB, free: 23.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002423/0.3971, allocations: 1.405 MB / 459.9 MB, free: 22.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.132e-05/0.3972, allocations: 41.36 kB / 459.9 MB, free: 22.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.3972, allocations: 9.188 kB / 459.9 MB, free: 22.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004715/0.3977, allocations: 86.34 kB / 460 MB, free: 22.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009769/0.3987, allocations: 248.3 kB / 460.3 MB, free: 22.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001296/0.4, allocations: 1.585 MB / 461.9 MB, free: 21.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009962/0.401, allocations: 144.6 kB / 462 MB, free: 21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.873e-05/0.4011, allocations: 40.14 kB / 462 MB, free: 21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00171/0.4028, allocations: 0.9986 MB / 463 MB, free: 20.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008678/0.4037, allocations: 0.7174 MB / 463.8 MB, free: 20.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001666/0.4053, allocations: 1.227 MB / 465 MB, free: 19.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.343e-06/0.4054, allocations: 3.656 kB / 465 MB, free: 19.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.002804/0.4082, allocations: 1.377 MB / 466.4 MB, free: 18.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.819e-05/0.4082, allocations: 37.7 kB / 466.4 MB, free: 18.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.4082, allocations: 12 kB / 466.4 MB, free: 18.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004765/0.4087, allocations: 94.33 kB / 466.5 MB, free: 18.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.4098, allocations: 243.6 kB / 466.7 MB, free: 18.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/0.4111, allocations: 1.584 MB / 468.3 MB, free: 17.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/0.4122, allocations: 125.6 kB / 468.4 MB, free: 17.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-05/0.4123, allocations: 47.5 kB / 468.5 MB, free: 17.22 MB / 350.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.000361/0.4127, allocations: 274.9 kB / 468.8 MB, free: 16.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.4128, allocations: 109.9 kB / 468.9 MB, free: 16.92 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003811/0.4166, allocations: 1.402 MB / 470.3 MB, free: 16.42 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.888e-06/0.4167, allocations: 6.891 kB / 470.3 MB, free: 16.42 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.4167, allocations: 1.125 kB / 470.3 MB, free: 16.42 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/0.4167, allocations: 2.859 kB / 470.3 MB, free: 16.42 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005055/0.4218, allocations: 2.927 MB / 473.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.4218, allocations: 1 kB / 473.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006394/0.4224, allocations: 142.5 kB / 473.3 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006275/0.4231, allocations: 248.1 kB / 473.6 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.411e-05/0.4231, allocations: 25.47 kB / 473.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009039/0.424, allocations: 0.8224 MB / 474.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4241, allocations: 4.031 kB / 474.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003122/0.4272, allocations: 1.795 MB / 476.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004413/0.4276, allocations: 274.9 kB / 476.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001521/0.4278, allocations: 25.12 kB / 476.5 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006811/0.4285, allocations: 69.8 kB / 476.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.4286, allocations: 47.25 kB / 476.6 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-05/0.4287, allocations: 22 kB / 476.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001028/0.4297, allocations: 0.7285 MB / 477.4 MB, free: 13.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4297, allocations: 0 / 477.4 MB, free: 13.1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001918/0.4317, allocations: 0.8389 MB / 478.2 MB, free: 12.81 MB / 350.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.0001885/0.4319, allocations: 133.6 kB / 478.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004007/0.4359, allocations: 2.191 MB / 480.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.4359, allocations: 1.688 kB / 480.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000969/0.4369, allocations: 0.5787 MB / 481.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/0.4383, allocations: 273.8 kB / 481.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006196/0.4445, allocations: 4.273 MB / 485.7 MB, free: 9.047 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/0.4456, allocations: 1.7 MB / 487.4 MB, free: 8.145 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001213/0.4469, allocations: 372.3 kB / 487.7 MB, free: 8.098 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002309/0.4471, allocations: 83.28 kB / 487.8 MB, free: 8.086 MB / 350.1 MB Notification: Performance of SimCode: time 9.51e-07/0.4471, allocations: 0 / 487.8 MB, free: 8.086 MB / 350.1 MB Notification: Performance of Templates: time 0.02173/0.4688, allocations: 14.75 MB / 0.4908 GB, free: 10.52 MB / 366.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)