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.001067/0.001067, allocations: 108.1 kB / 16.37 MB, free: 6.477 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.001072/0.001073, allocations: 194.7 kB / 17.31 MB, free: 5.824 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.293/1.293, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02728/0.02728, allocations: 5.399 MB / 296.6 MB, free: 9.492 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 59.91 kB / 358.9 MB, free: 11.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1968, allocations: 50.62 MB / 409.5 MB, free: 29.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModulePolyphase): time 0.006454/0.2033, allocations: 6.911 MB / 416.4 MB, free: 22.81 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003398/0.2067, allocations: 2.392 MB / 418.8 MB, free: 20.42 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005298/0.2072, allocations: 43.81 kB / 418.8 MB, free: 20.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008048/0.2081, allocations: 466.6 kB / 419.3 MB, free: 19.92 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008809/0.209, allocations: 452.9 kB / 419.7 MB, free: 19.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005963/0.2096, allocations: 431.4 kB / 420.1 MB, free: 19.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001349/0.2109, allocations: 2.197 MB / 422.3 MB, free: 16.85 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001872/0.2128, allocations: 2.476 MB / 424.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009097/0.2137, allocations: 1.075 MB / 425.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001261/0.215, allocations: 1.315 MB / 427.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003086/0.2153, allocations: 316 kB / 427.5 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003663/0.2157, allocations: 332 kB / 427.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004948/0.2162, allocations: 0.7519 MB / 428.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008073/0.217, allocations: 1.279 MB / 429.9 MB, free: 9.234 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001978/0.219, allocations: 3.617 MB / 433.5 MB, free: 5.609 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.219, allocations: 0 / 433.5 MB, free: 5.609 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.219, allocations: 0 / 433.5 MB, free: 5.609 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.316e-05/0.2191, allocations: 0 / 433.5 MB, free: 5.609 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.004604/0.2237, allocations: 2.761 MB / 436.2 MB, free: 2.777 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.2237, allocations: 8.031 kB / 436.3 MB, free: 2.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004683/0.2242, allocations: 249.9 kB / 436.5 MB, free: 2.523 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002696/0.2269, allocations: 1.519 MB / 438 MB, free: 0.957 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.908e-05/0.227, allocations: 156.1 kB / 438.2 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002409/0.2273, allocations: 203.9 kB / 438.4 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003931/0.2312, allocations: 2.67 MB / 441 MB, free: 13.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.41e-05/0.2313, allocations: 0 / 441 MB, free: 13.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001724/0.2314, allocations: 84 kB / 441.1 MB, free: 13.76 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.063e-05/0.2315, allocations: 84.03 kB / 441.2 MB, free: 13.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00362/0.2352, allocations: 2.206 MB / 443.4 MB, free: 11.45 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01109/0.2463, allocations: 7.861 MB / 451.3 MB, free: 3.328 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001854/0.2481, allocations: 1.21 MB / 452.5 MB, free: 2.035 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008677/0.249, allocations: 0.4954 MB / 453 MB, free: 1.539 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.228e-05/0.2491, allocations: 16.53 kB / 453 MB, free: 1.523 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008686/0.25, allocations: 0.5195 MB / 453.5 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 2.414e-06/0.25, allocations: 3.938 kB / 453.5 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of matching and sorting (n=67): time 0.00518/0.2552, allocations: 1.801 MB / 455.3 MB, free: 15.14 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.375e-05/0.2552, allocations: 145.1 kB / 455.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/0.2565, allocations: 1.068 MB / 456.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.155e-05/0.2566, allocations: 41.64 kB / 456.6 MB, free: 13.83 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006439/0.2573, allocations: 0.965 MB / 457.5 MB, free: 12.85 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/0.2574, allocations: 232.7 kB / 457.8 MB, free: 12.62 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002936/0.2578, allocations: 186.4 kB / 457.9 MB, free: 12.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.2579, allocations: 349.9 kB / 458.3 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000816/0.2587, allocations: 460.6 kB / 458.7 MB, free: 11.63 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009707/0.2597, allocations: 0.7281 MB / 459.5 MB, free: 10.78 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001824/0.2615, allocations: 1.239 MB / 460.7 MB, free: 9.414 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/0.2615, allocations: 8 kB / 460.7 MB, free: 9.406 MB / 334.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002581/0.2641, allocations: 1.408 MB / 462.1 MB, free: 7.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.546e-05/0.2642, allocations: 33.7 kB / 462.1 MB, free: 7.941 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.2642, allocations: 8 kB / 462.2 MB, free: 7.934 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004654/0.2647, allocations: 92.84 kB / 462.2 MB, free: 7.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009675/0.2656, allocations: 247.6 kB / 462.5 MB, free: 7.598 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/0.2671, allocations: 1.578 MB / 464.1 MB, free: 5.875 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008536/0.2679, allocations: 155 kB / 464.2 MB, free: 5.723 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.418e-05/0.268, allocations: 43.98 kB / 464.3 MB, free: 5.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001461/0.2695, allocations: 0.9937 MB / 465.3 MB, free: 4.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009108/0.2704, allocations: 0.7086 MB / 466 MB, free: 3.852 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001786/0.2722, allocations: 1.227 MB / 467.2 MB, free: 2.492 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.541e-06/0.2722, allocations: 4 kB / 467.2 MB, free: 2.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.002487/0.2747, allocations: 1.381 MB / 468.6 MB, free: 1.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.447e-05/0.2748, allocations: 39.72 kB / 468.6 MB, free: 1.047 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.2748, allocations: 12 kB / 468.6 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004249/0.2752, allocations: 88.97 kB / 468.7 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009544/0.2762, allocations: 243.6 kB / 469 MB, free: 0.707 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/0.2776, allocations: 1.582 MB / 470.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000879/0.2785, allocations: 115.3 kB / 470.6 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.316e-05/0.2786, allocations: 43.98 kB / 470.7 MB, free: 14.83 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.000302/0.2789, allocations: 277.6 kB / 471 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.2791, allocations: 110.7 kB / 471.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003763/0.2829, allocations: 1.404 MB / 472.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.2829, allocations: 4 kB / 472.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.2829, allocations: 0 / 472.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.2829, allocations: 3.984 kB / 472.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005172/0.2881, allocations: 2.929 MB / 475.4 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.2881, allocations: 32 / 475.4 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006354/0.2888, allocations: 139.8 kB / 475.5 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005745/0.2893, allocations: 246.4 kB / 475.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.351e-05/0.2894, allocations: 31.92 kB / 475.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009995/0.2904, allocations: 0.8272 MB / 476.6 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2904, allocations: 0 / 476.6 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002996/0.2934, allocations: 1.797 MB / 478.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004947/0.2939, allocations: 275.6 kB / 478.7 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.2941, allocations: 16 kB / 478.7 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000663/0.2948, allocations: 71.92 kB / 478.8 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/0.2949, allocations: 48.48 kB / 478.8 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.375e-05/0.295, allocations: 27.92 kB / 478.9 MB, free: 6.441 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009781/0.296, allocations: 0.7255 MB / 479.6 MB, free: 5.707 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.296, allocations: 0 / 479.6 MB, free: 5.707 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00183/0.2978, allocations: 0.8428 MB / 480.4 MB, free: 4.859 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.0001859/0.298, allocations: 125.7 kB / 480.6 MB, free: 4.727 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003415/0.3014, allocations: 2.06 MB / 482.6 MB, free: 2.621 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3015, allocations: 0 / 482.6 MB, free: 2.621 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009706/0.3024, allocations: 0.5727 MB / 483.2 MB, free: 2.039 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.3036, allocations: 272.3 kB / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005071/0.3087, allocations: 3.349 MB / 486.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/0.3099, allocations: 1.702 MB / 488.5 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000974/0.3109, allocations: 372.4 kB / 488.9 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002449/0.3112, allocations: 83.41 kB / 489 MB, free: 12.2 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3112, allocations: 0 / 489 MB, free: 12.2 MB / 366.1 MB Notification: Performance of Templates: time 0.02503/0.3362, allocations: 14.92 MB / 0.4921 GB, free: 13.43 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 -s cvode -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.pipe 2>&1)