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.001227/0.001227, allocations: 107.6 kB / 16.27 MB, free: 6.414 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.001249/0.001249, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.331/1.331, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02694/0.02694, allocations: 5.404 MB / 296.5 MB, free: 9.535 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001405, allocations: 71.89 kB / 358.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2277, allocations: 50.61 MB / 408.7 MB, free: 30.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModulePolyphase): time 0.0065/0.2342, allocations: 6.905 MB / 415.6 MB, free: 23.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004103/0.2384, allocations: 2.397 MB / 418 MB, free: 20.69 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001178/0.2396, allocations: 43.81 kB / 418 MB, free: 20.65 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001065/0.2407, allocations: 466.8 kB / 418.5 MB, free: 20.19 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001409/0.2422, allocations: 456.9 kB / 418.9 MB, free: 19.74 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007902/0.243, allocations: 427.4 kB / 419.4 MB, free: 19.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001641/0.2446, allocations: 2.181 MB / 421.5 MB, free: 17.13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00191/0.2465, allocations: 2.479 MB / 424 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/0.2476, allocations: 1.071 MB / 425.1 MB, free: 13.51 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00121/0.2488, allocations: 1.315 MB / 426.4 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003157/0.2492, allocations: 315.9 kB / 426.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004119/0.2496, allocations: 332 kB / 427 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004443/0.25, allocations: 0.7441 MB / 427.8 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009764/0.251, allocations: 1.283 MB / 429.1 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00232/0.2533, allocations: 3.556 MB / 432.6 MB, free: 5.957 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.2534, allocations: 0 / 432.6 MB, free: 5.957 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2534, allocations: 4 kB / 432.6 MB, free: 5.953 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.203e-05/0.2534, allocations: 4 kB / 432.6 MB, free: 5.949 MB / 302.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.004986/0.2584, allocations: 2.754 MB / 435.4 MB, free: 3.125 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.2585, allocations: 15.97 kB / 435.4 MB, free: 3.109 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004581/0.2589, allocations: 253.9 kB / 435.7 MB, free: 2.859 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002193/0.2611, allocations: 1.477 MB / 437.1 MB, free: 1.336 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.416e-05/0.2612, allocations: 156.1 kB / 437.3 MB, free: 1.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002226/0.2614, allocations: 199.9 kB / 437.5 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004073/0.2655, allocations: 2.67 MB / 440.1 MB, free: 14.22 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.798e-05/0.2656, allocations: 0 / 440.1 MB, free: 14.22 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001757/0.2658, allocations: 83.91 kB / 440.2 MB, free: 14.14 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-05/0.2659, allocations: 84.05 kB / 440.3 MB, free: 14.06 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003894/0.2698, allocations: 2.206 MB / 442.5 MB, free: 11.84 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01228/0.2821, allocations: 7.943 MB / 450.5 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002153/0.2842, allocations: 1.218 MB / 451.7 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009732/0.2852, allocations: 0.4944 MB / 452.2 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.161e-05/0.2853, allocations: 12.55 kB / 452.2 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009482/0.2863, allocations: 0.5272 MB / 452.7 MB, free: 1.273 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 3.336e-06/0.2863, allocations: 3.938 kB / 452.7 MB, free: 1.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=67): time 0.005489/0.2918, allocations: 1.805 MB / 454.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.214e-05/0.2919, allocations: 145 kB / 454.7 MB, free: 15.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00163/0.2935, allocations: 1.06 MB / 455.7 MB, free: 14.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.87e-05/0.2936, allocations: 37.7 kB / 455.8 MB, free: 14.13 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008133/0.2944, allocations: 0.9688 MB / 456.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002165/0.2947, allocations: 232.7 kB / 457 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003107/0.295, allocations: 182.5 kB / 457.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.2951, allocations: 349.9 kB / 457.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000888/0.296, allocations: 460.5 kB / 457.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.2971, allocations: 0.732 MB / 458.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001917/0.299, allocations: 1.239 MB / 459.9 MB, free: 9.707 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.117e-05/0.299, allocations: 8 kB / 459.9 MB, free: 9.699 MB / 334.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002862/0.3019, allocations: 1.4 MB / 461.3 MB, free: 8.281 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.59e-05/0.302, allocations: 37.69 kB / 461.3 MB, free: 8.238 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.792e-05/0.302, allocations: 11.94 kB / 461.4 MB, free: 8.227 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004981/0.3025, allocations: 92.97 kB / 461.4 MB, free: 8.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/0.3035, allocations: 239.6 kB / 461.7 MB, free: 7.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001616/0.3051, allocations: 1.589 MB / 463.3 MB, free: 6.164 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009987/0.3061, allocations: 147 kB / 463.4 MB, free: 6.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.224e-05/0.3062, allocations: 40 kB / 463.4 MB, free: 5.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001684/0.3079, allocations: 0.9898 MB / 464.4 MB, free: 4.984 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001008/0.3089, allocations: 0.7203 MB / 465.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001814/0.3108, allocations: 1.227 MB / 466.4 MB, free: 2.785 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.35e-05/0.3108, allocations: 4 kB / 466.4 MB, free: 2.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.002772/0.3136, allocations: 1.385 MB / 467.8 MB, free: 1.379 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.09e-05/0.3136, allocations: 35.73 kB / 467.8 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.3137, allocations: 12 kB / 467.8 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006158/0.3143, allocations: 92.91 kB / 467.9 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00154/0.3158, allocations: 235.6 kB / 468.1 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001588/0.3174, allocations: 1.585 MB / 469.7 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.3185, allocations: 123.3 kB / 469.8 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.959e-05/0.3186, allocations: 47.98 kB / 469.9 MB, free: 15.11 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.0003371/0.3189, allocations: 277.6 kB / 470.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002852/0.3192, allocations: 110.6 kB / 470.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003832/0.3231, allocations: 1.4 MB / 471.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.3231, allocations: 4 kB / 471.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.686e-06/0.3231, allocations: 0 / 471.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.3231, allocations: 3.984 kB / 471.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005528/0.3286, allocations: 2.927 MB / 474.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.3287, allocations: 0 / 474.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006601/0.3293, allocations: 143.8 kB / 474.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006027/0.33, allocations: 254.4 kB / 475 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.37e-05/0.3301, allocations: 23.92 kB / 475 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001022/0.3311, allocations: 0.8233 MB / 475.8 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3311, allocations: 0 / 475.8 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003273/0.3344, allocations: 1.8 MB / 477.6 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005686/0.335, allocations: 267.6 kB / 477.9 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000236/0.3352, allocations: 23.98 kB / 477.9 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007431/0.336, allocations: 63.92 kB / 478 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.3361, allocations: 48.5 kB / 478 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-05/0.3362, allocations: 27.92 kB / 478.1 MB, free: 6.734 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00114/0.3373, allocations: 0.7294 MB / 478.8 MB, free: 5.996 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3374, allocations: 3.938 kB / 478.8 MB, free: 5.992 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002132/0.3395, allocations: 0.8428 MB / 479.6 MB, free: 5.145 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.0002254/0.3397, allocations: 119.1 kB / 479.8 MB, free: 5.016 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004437/0.3442, allocations: 2.202 MB / 482 MB, free: 2.766 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.3442, allocations: 2 kB / 482 MB, free: 2.766 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001157/0.3454, allocations: 0.5765 MB / 482.5 MB, free: 2.176 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/0.347, allocations: 267.6 kB / 482.8 MB, free: 1.922 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007119/0.3541, allocations: 3.416 MB / 486.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001607/0.3557, allocations: 1.677 MB / 487.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004463/0.3562, allocations: 87.41 kB / 488 MB, free: 12.67 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3562, allocations: 0 / 488 MB, free: 12.67 MB / 366.1 MB Notification: Performance of Templates: time 0.1966/0.5528, allocations: 29.99 MB / 0.5058 GB, free: 93.96 MB / 382.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)