Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.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.SimpleCell,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCell",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleCell,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCell",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.008855/0.008855, allocations: 98.08 kB / 15.73 MB, free: 6.004 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.002176/0.002175, allocations: 199.4 kB / 16.68 MB, free: 5.934 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1601/0.1601, allocations: 5.384 MB / 295.9 MB, free: 2.844 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 67.88 kB / 412.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2312, allocations: 50.61 MB / 462.9 MB, free: 21.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.003598/0.2348, allocations: 3.377 MB / 466.3 MB, free: 18.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.2364, allocations: 1.265 MB / 467.6 MB, free: 18.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002116/0.2367, allocations: 4 kB / 467.6 MB, free: 18.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005339/0.2372, allocations: 215.5 kB / 467.8 MB, free: 17.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003522/0.2376, allocations: 149.8 kB / 467.9 MB, free: 17.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002086/0.2378, allocations: 117.1 kB / 468 MB, free: 17.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004923/0.2383, allocations: 0.5713 MB / 468.6 MB, free: 17.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002018/0.2385, allocations: 120.4 kB / 468.7 MB, free: 17.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002103/0.2387, allocations: 205 kB / 468.9 MB, free: 17.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002848/0.239, allocations: 252 kB / 469.2 MB, free: 17.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.453e-05/0.2391, allocations: 53.09 kB / 469.2 MB, free: 17.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.2392, allocations: 61.28 kB / 469.3 MB, free: 17.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.418e-05/0.2393, allocations: 116.6 kB / 469.4 MB, free: 17.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001809/0.2395, allocations: 225.2 kB / 469.6 MB, free: 16.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005821/0.2401, allocations: 0.5322 MB / 470.1 MB, free: 16.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.2401, allocations: 1.375 kB / 470.1 MB, free: 16.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2401, allocations: 0 / 470.1 MB, free: 16.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.2401, allocations: 0 / 470.1 MB, free: 16.71 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001797/0.2419, allocations: 0.8226 MB / 471 MB, free: 16.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.242, allocations: 10.52 kB / 471 MB, free: 16.14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.615e-05/0.242, allocations: 58.81 kB / 471 MB, free: 16.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.92e-05/0.2421, allocations: 45.28 kB / 471.1 MB, free: 16.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009784/0.2431, allocations: 493.8 kB / 471.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.2431, allocations: 20.75 kB / 471.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.986e-05/0.2432, allocations: 18.38 kB / 471.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005541/0.2437, allocations: 301.8 kB / 471.9 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.2438, allocations: 1.031 kB / 471.9 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.772e-05/0.2438, allocations: 10.59 kB / 471.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.2438, allocations: 5.469 kB / 471.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005954/0.2444, allocations: 252 kB / 472.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001948/0.2464, allocations: 1.256 MB / 473.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004912/0.2469, allocations: 267.9 kB / 473.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003089/0.2472, allocations: 113.7 kB / 473.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.2472, allocations: 6.047 kB / 473.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.549e-05/0.2473, allocations: 32.89 kB / 473.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.2473, allocations: 0 / 473.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.003257/0.2505, allocations: 0.7361 MB / 474.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.278e-05/0.2506, allocations: 52.78 kB / 474.6 MB, free: 14.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004177/0.251, allocations: 390.2 kB / 475 MB, free: 13.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.251, allocations: 25.7 kB / 475 MB, free: 13.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.2511, allocations: 224.8 kB / 475.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.796e-05/0.2512, allocations: 40.42 kB / 475.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.2513, allocations: 52.09 kB / 475.3 MB, free: 13.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.161e-05/0.2513, allocations: 343.9 kB / 475.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002621/0.2516, allocations: 99.58 kB / 475.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002627/0.2519, allocations: 138.3 kB / 475.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004707/0.2524, allocations: 216.1 kB / 476.1 MB, free: 12.99 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.2524, allocations: 1.406 kB / 476.1 MB, free: 12.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.002093/0.2545, allocations: 0.5573 MB / 476.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.2545, allocations: 5.5 kB / 476.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.2545, allocations: 1.844 kB / 476.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008375/0.2554, allocations: 245.5 kB / 476.9 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.2556, allocations: 41.53 kB / 477 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004518/0.2601, allocations: 3.795 MB / 480.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004095/0.2605, allocations: 44.67 kB / 480.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/0.2606, allocations: 14.61 kB / 480.8 MB, free: 9.359 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: 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 prepare postOptimizeDAE: time 0.0001649/0.2607, allocations: 140 kB / 480.9 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.192e-05/0.2608, allocations: 39.83 kB / 481 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.971e-05/0.2609, allocations: 33.09 kB / 481 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.2609, allocations: 5.281 kB / 481 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.2609, allocations: 0 / 481 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2609, allocations: 5.016 kB / 481 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002046/0.2629, allocations: 0.8378 MB / 481.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.263, allocations: 96 / 481.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.772e-05/0.263, allocations: 22.3 kB / 481.9 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003441/0.2634, allocations: 170.8 kB / 482.1 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.2634, allocations: 5.094 kB / 482.1 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002888/0.2663, allocations: 2.019 MB / 484.1 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2663, allocations: 1.125 kB / 484.1 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.268, allocations: 0.4968 MB / 484.6 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.2681, allocations: 127.7 kB / 484.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.245e-05/0.2682, allocations: 9.656 kB / 484.7 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.2684, allocations: 20.31 kB / 484.7 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.405e-05/0.2685, allocations: 16.42 kB / 484.7 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.2685, allocations: 7.188 kB / 484.8 MB, free: 6.156 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002612/0.2688, allocations: 268.2 kB / 485 MB, free: 5.988 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2688, allocations: 1.062 kB / 485 MB, free: 5.988 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005106/0.2693, allocations: 93.27 kB / 485.1 MB, free: 5.973 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001819/0.2711, allocations: 1.034 MB / 486.1 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009687/0.2721, allocations: 483.1 kB / 486.6 MB, free: 4.766 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.2721, allocations: 5.094 kB / 486.6 MB, free: 4.762 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002921/0.2724, allocations: 204.3 kB / 486.8 MB, free: 4.598 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000531/0.273, allocations: 84.95 kB / 486.9 MB, free: 4.551 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006796/0.2798, allocations: 3.619 MB / 490.5 MB, free: 2.121 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001808/0.28, allocations: 0.7766 MB / 491.3 MB, free: 1.383 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001652/0.2802, allocations: 37.3 kB / 491.3 MB, free: 1.359 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.2803, allocations: 120.7 kB / 491.4 MB, free: 1.258 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2803, allocations: 0 / 491.4 MB, free: 1.258 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03788/0.3182, allocations: 9.772 MB / 0.4895 GB, free: 10.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.13, allocations: 8.438 kB / 0.4895 GB, free: 10.11 MB / 366.1 MB (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleCell_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleCell.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe 2>&1)