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.00106/0.00106, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 196.1 kB / 16.53 MB, free: 6.699 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.34/1.34, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1354/0.1354, allocations: 5.388 MB / 295.8 MB, free: 2.918 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 60.09 kB / 357.4 MB, free: 1.578 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09738/0.0986, allocations: 50.61 MB / 408 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModulePolyphase): time 0.008442/0.1071, allocations: 6.918 MB / 414.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004475/0.1116, allocations: 2.379 MB / 417.3 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007503/0.1124, allocations: 43.81 kB / 417.4 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009649/0.1133, allocations: 468.9 kB / 417.8 MB, free: 5.074 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001182/0.1146, allocations: 457 kB / 418.3 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007461/0.1153, allocations: 435.3 kB / 418.7 MB, free: 4.199 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001911/0.1173, allocations: 2.185 MB / 420.9 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1742/0.2914, allocations: 2.486 MB / 423.4 MB, free: 37.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001721/0.2932, allocations: 1.065 MB / 424.4 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001358/0.2946, allocations: 1.316 MB / 425.7 MB, free: 36.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003683/0.295, allocations: 316.2 kB / 426 MB, free: 36.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004524/0.2954, allocations: 329.1 kB / 426.4 MB, free: 36.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004973/0.2959, allocations: 0.7441 MB / 427.1 MB, free: 36.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009348/0.2969, allocations: 1.271 MB / 428.4 MB, free: 36.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002707/0.2996, allocations: 3.562 MB / 431.9 MB, free: 35.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.2996, allocations: 3.156 kB / 431.9 MB, free: 35.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.2996, allocations: 0 / 431.9 MB, free: 35.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.561e-05/0.2997, allocations: 0 / 431.9 MB, free: 35.89 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.005238/0.3049, allocations: 2.762 MB / 434.7 MB, free: 34.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.608e-05/0.305, allocations: 9.656 kB / 434.7 MB, free: 34.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004513/0.3054, allocations: 243.9 kB / 435 MB, free: 34.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002197/0.3076, allocations: 1.481 MB / 436.4 MB, free: 33.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.307e-05/0.3077, allocations: 159.6 kB / 436.6 MB, free: 33.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002454/0.308, allocations: 200.5 kB / 436.8 MB, free: 33.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003479/0.3114, allocations: 2.675 MB / 439.5 MB, free: 32.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.773e-05/0.3115, allocations: 0 / 439.5 MB, free: 32.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000167/0.3117, allocations: 88.11 kB / 439.6 MB, free: 32.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.428e-05/0.3117, allocations: 83.23 kB / 439.6 MB, free: 32.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003258/0.315, allocations: 2.203 MB / 441.8 MB, free: 31.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009433/0.3245, allocations: 7.955 MB / 449.8 MB, free: 27.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/0.3262, allocations: 1.215 MB / 451 MB, free: 26.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008176/0.327, allocations: 0.5008 MB / 451.5 MB, free: 26.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.588e-05/0.3271, allocations: 9.062 kB / 451.5 MB, free: 26.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000799/0.3279, allocations: 0.5186 MB / 452 MB, free: 26.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=67): time 3.066e-06/0.3279, allocations: 0 / 452 MB, free: 26.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.004979/0.3329, allocations: 1.809 MB / 453.8 MB, free: 25.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.3329, allocations: 142.7 kB / 454 MB, free: 25.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.3341, allocations: 1.071 MB / 455.1 MB, free: 25.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.663e-05/0.3342, allocations: 36.77 kB / 455.1 MB, free: 25.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005475/0.3347, allocations: 0.9651 MB / 456.1 MB, free: 24.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.3349, allocations: 234.7 kB / 456.3 MB, free: 24.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002556/0.3352, allocations: 181.7 kB / 456.5 MB, free: 24.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.286e-05/0.3352, allocations: 343.3 kB / 456.8 MB, free: 23.74 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007702/0.336, allocations: 462.5 kB / 457.2 MB, free: 23.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008973/0.3369, allocations: 0.7263 MB / 458 MB, free: 23.1 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001613/0.3385, allocations: 1.243 MB / 459.2 MB, free: 22.37 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.3386, allocations: 3.062 kB / 459.2 MB, free: 22.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002516/0.3411, allocations: 1.409 MB / 460.6 MB, free: 21.87 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.407e-05/0.3411, allocations: 39.39 kB / 460.7 MB, free: 21.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/0.3412, allocations: 9 kB / 460.7 MB, free: 21.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000478/0.3416, allocations: 87.23 kB / 460.8 MB, free: 21.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009831/0.3426, allocations: 249.7 kB / 461 MB, free: 21.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/0.3441, allocations: 1.579 MB / 462.6 MB, free: 20.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.3451, allocations: 148.6 kB / 462.7 MB, free: 20.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.311e-05/0.3453, allocations: 44.53 kB / 462.8 MB, free: 20.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00227/0.3475, allocations: 0.9934 MB / 463.8 MB, free: 19.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001014/0.3486, allocations: 0.7211 MB / 464.5 MB, free: 19.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001727/0.3503, allocations: 1.223 MB / 465.7 MB, free: 18.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.179e-06/0.3503, allocations: 2.75 kB / 465.7 MB, free: 18.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.002959/0.3533, allocations: 1.379 MB / 467.1 MB, free: 18.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.868e-05/0.3533, allocations: 35.98 kB / 467.1 MB, free: 18.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.3533, allocations: 12.62 kB / 467.1 MB, free: 18.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004599/0.3538, allocations: 88.39 kB / 467.2 MB, free: 18.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009705/0.3548, allocations: 245.3 kB / 467.5 MB, free: 18.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/0.356, allocations: 1.584 MB / 469 MB, free: 16.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009809/0.357, allocations: 118.9 kB / 469.2 MB, free: 16.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.318e-05/0.3571, allocations: 42.02 kB / 469.2 MB, free: 16.44 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.0003116/0.3574, allocations: 288 kB / 469.5 MB, free: 16.19 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/0.3576, allocations: 113.1 kB / 469.6 MB, free: 16.13 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003821/0.3614, allocations: 1.397 MB / 471 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.3614, allocations: 6.562 kB / 471 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3614, allocations: 0 / 471 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.3615, allocations: 9.047 kB / 471 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004969/0.3664, allocations: 2.925 MB / 473.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.3665, allocations: 0.5625 kB / 473.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006472/0.3671, allocations: 134.1 kB / 474.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005908/0.3677, allocations: 258.8 kB / 474.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.203e-05/0.3678, allocations: 22.58 kB / 474.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009249/0.3687, allocations: 0.8296 MB / 475.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3687, allocations: 1.156 kB / 475.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003139/0.3719, allocations: 1.788 MB / 477 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004949/0.3724, allocations: 282.9 kB / 477.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001704/0.3726, allocations: 21.02 kB / 477.3 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007312/0.3733, allocations: 66.16 kB / 477.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.3735, allocations: 48.39 kB / 477.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.476e-05/0.3735, allocations: 21.14 kB / 477.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001053/0.3746, allocations: 0.7324 MB / 478.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3746, allocations: 1.125 kB / 478.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002024/0.3766, allocations: 0.8365 MB / 479 MB, free: 12.03 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.0001786/0.3768, allocations: 124.3 kB / 479.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004025/0.3808, allocations: 2.194 MB / 481.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.3809, allocations: 1.375 kB / 481.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009918/0.3819, allocations: 0.5812 MB / 481.9 MB, free: 10.85 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/0.3832, allocations: 271.2 kB / 482.1 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004907/0.3881, allocations: 3.405 MB / 485.5 MB, free: 9.137 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/0.3892, allocations: 1.707 MB / 487.2 MB, free: 8.227 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001076/0.3903, allocations: 376.1 kB / 487.6 MB, free: 8.176 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002374/0.3905, allocations: 81.03 kB / 487.7 MB, free: 8.164 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3905, allocations: 0 / 487.7 MB, free: 8.164 MB / 350.1 MB Notification: Performance of Templates: time 0.02427/0.4148, allocations: 14.92 MB / 0.4908 GB, free: 10.21 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)