Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.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.SimpleModuleMP,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleMP,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP",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.001237/0.001237, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001294/0.001294, allocations: 193.4 kB / 16.25 MB, free: 6.629 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.27/1.27, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1216/0.1216, allocations: 5.393 MB / 295.5 MB, free: 2.949 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 59.91 kB / 360.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08431/0.08557, allocations: 50.63 MB / 411.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP): time 0.00744/0.09305, allocations: 6.306 MB / 417.4 MB, free: 5.336 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003704/0.09678, allocations: 2.535 MB / 419.9 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005675/0.09736, allocations: 16 kB / 419.9 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002338/0.09971, allocations: 1.035 MB / 421 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001487/0.1012, allocations: 0.7035 MB / 421.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005636/0.1018, allocations: 315.5 kB / 422 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1438/0.2456, allocations: 1.14 MB / 423.1 MB, free: 39.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001516/0.2472, allocations: 1.057 MB / 424.2 MB, free: 39.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004563/0.2476, allocations: 473.9 kB / 424.6 MB, free: 39.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004737/0.2481, allocations: 0.5732 MB / 425.2 MB, free: 39.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001115/0.2482, allocations: 128.1 kB / 425.3 MB, free: 39.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000441/0.2487, allocations: 286.5 kB / 425.6 MB, free: 39.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.2488, allocations: 258.2 kB / 425.9 MB, free: 39.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002918/0.2491, allocations: 0.5482 MB / 426.4 MB, free: 38.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009565/0.2501, allocations: 1.453 MB / 427.9 MB, free: 38.74 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2501, allocations: 3.344 kB / 427.9 MB, free: 38.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.2501, allocations: 0 / 427.9 MB, free: 38.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.2501, allocations: 0 / 427.9 MB, free: 38.74 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: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.003057/0.2532, allocations: 1.544 MB / 429.4 MB, free: 38.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.2532, allocations: 14.22 kB / 429.4 MB, free: 38.03 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001294/0.2533, allocations: 142.8 kB / 429.6 MB, free: 37.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001896/0.2552, allocations: 353.7 kB / 429.9 MB, free: 37.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.2563, allocations: 0.6836 MB / 430.6 MB, free: 37.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.177e-05/0.2564, allocations: 67.69 kB / 430.7 MB, free: 37.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.2565, allocations: 99.69 kB / 430.8 MB, free: 37.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/0.2579, allocations: 0.9937 MB / 431.8 MB, free: 37.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.2579, allocations: 3.375 kB / 431.8 MB, free: 37.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.43e-05/0.258, allocations: 37.25 kB / 431.8 MB, free: 37.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.258, allocations: 22.5 kB / 431.8 MB, free: 37.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.2594, allocations: 0.8347 MB / 432.7 MB, free: 36.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004109/0.2635, allocations: 3.883 MB / 436.5 MB, free: 34.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.2651, allocations: 1.482 MB / 438 MB, free: 33.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004033/0.2655, allocations: 254.2 kB / 438.3 MB, free: 32.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.99e-05/0.2656, allocations: 89.77 kB / 438.4 MB, free: 32.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005204/0.2661, allocations: 323.2 kB / 438.7 MB, free: 32.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.104e-06/0.2661, allocations: 1.219 kB / 438.7 MB, free: 32.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002349/0.2685, allocations: 0.95 MB / 439.6 MB, free: 32.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.2685, allocations: 142.3 kB / 439.8 MB, free: 32.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004226/0.2689, allocations: 0.4988 MB / 440.3 MB, free: 31.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/0.269, allocations: 32.8 kB / 440.3 MB, free: 31.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.2691, allocations: 463.4 kB / 440.7 MB, free: 31.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.679e-05/0.2692, allocations: 158 kB / 440.9 MB, free: 31.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001779/0.2694, allocations: 144.5 kB / 441 MB, free: 31.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.251e-05/0.2695, allocations: 371.9 kB / 441.4 MB, free: 30.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004165/0.2699, allocations: 232.7 kB / 441.6 MB, free: 30.87 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004592/0.2704, allocations: 430.7 kB / 442 MB, free: 30.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008554/0.2712, allocations: 0.7003 MB / 442.7 MB, free: 30.08 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.2712, allocations: 3.312 kB / 442.8 MB, free: 30.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001455/0.2727, allocations: 0.844 MB / 443.6 MB, free: 29.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/0.2727, allocations: 42.67 kB / 443.6 MB, free: 29.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.455e-06/0.2728, allocations: 3.219 kB / 443.6 MB, free: 29.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004496/0.2732, allocations: 85.88 kB / 443.7 MB, free: 29.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006346/0.2739, allocations: 173.2 kB / 443.9 MB, free: 29.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001114/0.275, allocations: 1.581 MB / 445.5 MB, free: 28.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005759/0.2756, allocations: 84.11 kB / 445.6 MB, free: 28.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.215e-05/0.2756, allocations: 35.95 kB / 445.6 MB, free: 28.12 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 11 (mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,mpTracker.sampleTrigger,$whenCondition1,mpTracker.vRef,$PRE.mpTracker.vRef,converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * 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.0002664/0.2759, allocations: 278.7 kB / 445.9 MB, free: 27.9 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.68e-05/0.276, allocations: 56.12 kB / 445.9 MB, free: 27.87 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.2772, allocations: 0.702 MB / 446.6 MB, free: 27.55 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.2772, allocations: 3.281 kB / 446.6 MB, free: 27.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.2772, allocations: 0 / 446.6 MB, free: 27.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.2772, allocations: 7.031 kB / 446.6 MB, free: 27.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003447/0.2807, allocations: 1.718 MB / 448.3 MB, free: 26.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2807, allocations: 0 / 448.3 MB, free: 26.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000298/0.281, allocations: 78 kB / 448.4 MB, free: 26.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004827/0.2815, allocations: 257.8 kB / 448.7 MB, free: 26.63 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.976e-05/0.2816, allocations: 17.7 kB / 448.7 MB, free: 26.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007596/0.2823, allocations: 0.826 MB / 449.5 MB, free: 25.97 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2823, allocations: 3.25 kB / 449.5 MB, free: 25.97 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002835/0.2852, allocations: 1.179 MB / 450.7 MB, free: 25.44 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001702/0.2854, allocations: 175.5 kB / 450.9 MB, free: 25.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.663e-05/0.2855, allocations: 18.69 kB / 450.9 MB, free: 25.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004314/0.2859, allocations: 37.31 kB / 450.9 MB, free: 25.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.283e-05/0.286, allocations: 27.39 kB / 451 MB, free: 25.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.971e-05/0.286, allocations: 17.08 kB / 451 MB, free: 25.26 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003064/0.2863, allocations: 345.9 kB / 451.3 MB, free: 25.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2863, allocations: 4 kB / 451.3 MB, free: 25.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006067/0.2869, allocations: 234.3 kB / 451.5 MB, free: 25.02 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (converter.integrator.y,voltageSource.pin_p.reference.gamma) * 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 (41): * Single equations (assignments): 40 * 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.003108/0.29, allocations: 1.765 MB / 453.3 MB, free: 23.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001304/0.2914, allocations: 0.7679 MB / 454.1 MB, free: 23.6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2914, allocations: 0 / 454.1 MB, free: 23.6 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004858/0.2919, allocations: 343.4 kB / 454.4 MB, free: 23.44 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005668/0.2924, allocations: 103.1 kB / 454.5 MB, free: 23.4 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008723/0.3012, allocations: 6 MB / 460.5 MB, free: 19.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006236/0.3019, allocations: 0.9475 MB / 461.5 MB, free: 18.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004797/0.3024, allocations: 81.23 kB / 461.5 MB, free: 18.88 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004889/0.3029, allocations: 305.8 kB / 461.8 MB, free: 18.65 MB / 350.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3029, allocations: 0 / 461.8 MB, free: 18.65 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03003/0.3329, allocations: 13.99 MB / 475.8 MB, free: 17.44 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001485/0.3331, allocations: 219.5 kB / 476 MB, free: 17.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.176/2.509, allocations: 3.938 kB / 476 MB, free: 17.18 MB / 350.1 MB (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe 2>&1)