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: "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModulePolyphase,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModulePolyphase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModulePolyphase,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModulePolyphase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009096/0.0009096, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005561/0.005562, allocations: 170 kB / 16.27 MB, free: 6.648 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.255/1.255, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1247/0.1247, allocations: 5.381 MB / 296.8 MB, free: 3.836 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002735/0.0002735, allocations: 11.98 kB / 359.3 MB, free: 1.137 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07726/0.07755, allocations: 51.6 MB / 410.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModulePolyphase): time 0.006109/0.08369, allocations: 6.382 MB / 417.2 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002953/0.08666, allocations: 2.333 MB / 419.6 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003782/0.08705, allocations: 43.81 kB / 419.6 MB, free: 4.688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007025/0.08776, allocations: 397.9 kB / 420 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000845/0.08862, allocations: 397.7 kB / 420.4 MB, free: 3.906 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005809/0.08921, allocations: 379.6 kB / 420.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001719/0.09094, allocations: 2.185 MB / 423 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1497/0.2406, allocations: 2.113 MB / 425.1 MB, free: 34.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009515/0.2416, allocations: 0.7453 MB / 425.8 MB, free: 34.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/0.2426, allocations: 1.015 MB / 426.8 MB, free: 34.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001871/0.2428, allocations: 116 kB / 426.9 MB, free: 34.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002564/0.2431, allocations: 128.9 kB / 427.1 MB, free: 34.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003308/0.2434, allocations: 0.5105 MB / 427.6 MB, free: 34.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006719/0.2441, allocations: 1.028 MB / 428.6 MB, free: 34.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001898/0.246, allocations: 3.322 MB / 431.9 MB, free: 33.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.246, allocations: 0.5 kB / 431.9 MB, free: 33.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.246, allocations: 4 kB / 431.9 MB, free: 33.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.238e-05/0.2461, allocations: 0 / 431.9 MB, free: 33.68 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.004136/0.2502, allocations: 2.372 MB / 434.3 MB, free: 32.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.2503, allocations: 9.844 kB / 434.3 MB, free: 32.56 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003497/0.2506, allocations: 300.6 kB / 434.6 MB, free: 32.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004077/0.251, allocations: 243.1 kB / 434.8 MB, free: 32.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002202/0.2532, allocations: 1.49 MB / 436.3 MB, free: 31.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.567e-05/0.2533, allocations: 159 kB / 436.5 MB, free: 31.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002537/0.2536, allocations: 203.8 kB / 436.7 MB, free: 31.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00366/0.2573, allocations: 2.683 MB / 439.4 MB, free: 31.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.358e-05/0.2573, allocations: 2.625 kB / 439.4 MB, free: 31.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001681/0.2575, allocations: 82.19 kB / 439.5 MB, free: 31.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.645e-05/0.2576, allocations: 81.91 kB / 439.5 MB, free: 31.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003168/0.2608, allocations: 2.244 MB / 441.8 MB, free: 31.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008795/0.2696, allocations: 8.013 MB / 449.8 MB, free: 27.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/0.2712, allocations: 1.238 MB / 451 MB, free: 26.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007682/0.2719, allocations: 0.5205 MB / 451.6 MB, free: 26.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.083e-05/0.272, allocations: 9.734 kB / 451.6 MB, free: 26.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007612/0.2728, allocations: 0.5494 MB / 452.1 MB, free: 26.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=67): time 2.665e-06/0.2728, allocations: 0 / 452.1 MB, free: 26.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.004564/0.2773, allocations: 1.905 MB / 454 MB, free: 25.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.2774, allocations: 142.3 kB / 454.2 MB, free: 25.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.2784, allocations: 1.06 MB / 455.2 MB, free: 25.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.173e-05/0.2785, allocations: 40.77 kB / 455.3 MB, free: 25.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004509/0.2789, allocations: 0.9641 MB / 456.2 MB, free: 24.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.2791, allocations: 233.6 kB / 456.4 MB, free: 24.31 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.61e-05/0.2792, allocations: 85.62 kB / 456.5 MB, free: 24.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.184e-05/0.2792, allocations: 345.2 kB / 456.9 MB, free: 23.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007269/0.28, allocations: 473.4 kB / 457.3 MB, free: 23.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007873/0.2808, allocations: 0.7442 MB / 458.1 MB, free: 23.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001506/0.2823, allocations: 1.281 MB / 459.4 MB, free: 22.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.2823, allocations: 3.062 kB / 459.4 MB, free: 22.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002202/0.2845, allocations: 1.45 MB / 460.8 MB, free: 22.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001001/0.2846, allocations: 376.2 kB / 461.2 MB, free: 21.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.2846, allocations: 9.375 kB / 461.2 MB, free: 21.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004205/0.2851, allocations: 91.48 kB / 461.3 MB, free: 21.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008736/0.2859, allocations: 252.9 kB / 461.5 MB, free: 21.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001044/0.287, allocations: 1.479 MB / 463 MB, free: 20.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008116/0.2878, allocations: 155.6 kB / 463.2 MB, free: 20.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.927e-05/0.2879, allocations: 40.06 kB / 463.2 MB, free: 20.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.33e-06/0.2879, allocations: 4.062 kB / 463.2 MB, free: 20.08 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002121/0.29, allocations: 1.301 MB / 464.5 MB, free: 19.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.2901, allocations: 8.656 kB / 464.5 MB, free: 19.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003761/0.2905, allocations: 82.08 kB / 464.6 MB, free: 19.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009106/0.2914, allocations: 252.5 kB / 464.8 MB, free: 19.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009646/0.2924, allocations: 1.481 MB / 466.3 MB, free: 18.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007379/0.2931, allocations: 120.7 kB / 466.4 MB, free: 18.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.767e-05/0.2932, allocations: 47.89 kB / 466.5 MB, free: 18.15 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.0009421/0.2941, allocations: 0.7503 MB / 467.2 MB, free: 17.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.2943, allocations: 116.9 kB / 467.3 MB, free: 17.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003515/0.2978, allocations: 1.445 MB / 468.8 MB, free: 17.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.872e-06/0.2978, allocations: 6.812 kB / 468.8 MB, free: 17.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.2978, allocations: 1.312 kB / 468.8 MB, free: 17.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.2978, allocations: 3.609 kB / 468.8 MB, free: 17.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004285/0.3021, allocations: 2.977 MB / 471.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.3022, allocations: 3.938 kB / 471.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006065/0.3028, allocations: 149.9 kB / 471.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005287/0.3033, allocations: 257.6 kB / 472.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.391e-05/0.3034, allocations: 22.78 kB / 472.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008214/0.3042, allocations: 0.8319 MB / 473 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3042, allocations: 0 / 473 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002911/0.3071, allocations: 1.865 MB / 474.9 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003666/0.3075, allocations: 275 kB / 475.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/0.3077, allocations: 20.58 kB / 475.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006615/0.3083, allocations: 82.16 kB / 475.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.3084, allocations: 48.2 kB / 475.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-05/0.3085, allocations: 24.98 kB / 475.3 MB, free: 14.1 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008853/0.3094, allocations: 0.7281 MB / 476.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3094, allocations: 4 kB / 476.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001717/0.3111, allocations: 0.8405 MB / 476.9 MB, free: 13.51 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.003146/0.3143, allocations: 2.427 MB / 479.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003258/0.3176, allocations: 2.095 MB / 481.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3176, allocations: 0 / 481.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009231/0.3185, allocations: 0.5928 MB / 482 MB, free: 11.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/0.3198, allocations: 250.6 kB / 482.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01499/0.3348, allocations: 13.04 MB / 495.3 MB, free: 1.543 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009357/0.3358, allocations: 1.698 MB / 497 MB, free: 15.81 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001119/0.3369, allocations: 376.4 kB / 497.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008136/0.3377, allocations: 0.7023 MB / 498.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3378, allocations: 0 / 498.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04063/0.3784, allocations: 26.76 MB / 0.5125 GB, free: 4.312 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003075/0.3787, allocations: 227.2 kB / 0.5128 GB, free: 4.055 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.084/2.463, allocations: 0 / 0.5128 GB, free: 4.055 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleModulePolyphase_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleModulePolyphase.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.pipe 2>&1)