Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.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.SimpleModuleSymmetric,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleSymmetric",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleSymmetric,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleSymmetric",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.00934/0.009339, allocations: 102.5 kB / 15.73 MB, free: 5.984 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.001352/0.001352, allocations: 195.3 kB / 16.67 MB, free: 5.91 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1631/0.1631, allocations: 5.385 MB / 295.9 MB, free: 2.883 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002431/0.002431, allocations: 55.91 kB / 412.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3079, allocations: 50.61 MB / 462.9 MB, free: 21.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleSymmetric): time 0.00502/0.3129, allocations: 3.441 MB / 466.4 MB, free: 18.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002322/0.3153, allocations: 1.271 MB / 467.6 MB, free: 18.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003405/0.3157, allocations: 8.625 kB / 467.6 MB, free: 18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006648/0.3165, allocations: 218.7 kB / 467.8 MB, free: 17.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004697/0.3169, allocations: 156 kB / 468 MB, free: 17.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002783/0.3172, allocations: 121.4 kB / 468.1 MB, free: 17.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006011/0.3178, allocations: 0.5744 MB / 468.7 MB, free: 17.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002293/0.3181, allocations: 125 kB / 468.8 MB, free: 17.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000258/0.3183, allocations: 213.2 kB / 469 MB, free: 17.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003229/0.3187, allocations: 262.9 kB / 469.3 MB, free: 17.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.429e-05/0.3187, allocations: 53.62 kB / 469.3 MB, free: 17.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.3189, allocations: 59.91 kB / 469.4 MB, free: 17.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.37e-05/0.319, allocations: 112.5 kB / 469.5 MB, free: 17.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000197/0.3192, allocations: 233.8 kB / 469.7 MB, free: 16.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006345/0.3198, allocations: 0.5431 MB / 470.3 MB, free: 16.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.3198, allocations: 0.9062 kB / 470.3 MB, free: 16.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3198, allocations: 0 / 470.3 MB, free: 16.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.3199, allocations: 0 / 470.3 MB, free: 16.67 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001959/0.3218, allocations: 0.8216 MB / 471.1 MB, free: 16.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.3219, allocations: 14.17 kB / 471.1 MB, free: 16.1 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.199e-05/0.322, allocations: 61.55 kB / 471.2 MB, free: 16.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.982e-05/0.3221, allocations: 46.06 kB / 471.2 MB, free: 16.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.3233, allocations: 0.4928 MB / 471.7 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.3233, allocations: 21.34 kB / 471.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.786e-05/0.3234, allocations: 28.12 kB / 471.8 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006307/0.324, allocations: 313.7 kB / 472.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.324, allocations: 5.188 kB / 472.1 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.174e-05/0.3241, allocations: 10.06 kB / 472.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.3241, allocations: 6.844 kB / 472.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006972/0.3248, allocations: 281.6 kB / 472.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002228/0.327, allocations: 1.318 MB / 473.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006465/0.3277, allocations: 306.3 kB / 474 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004077/0.3281, allocations: 138.2 kB / 474.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.257e-05/0.3282, allocations: 3.109 kB / 474.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.3282, allocations: 44.47 kB / 474.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.3282, allocations: 0 / 474.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.003663/0.3319, allocations: 0.7502 MB / 474.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.3319, allocations: 61.39 kB / 475 MB, free: 13.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004751/0.3324, allocations: 385.3 kB / 475.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.3324, allocations: 25.7 kB / 475.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.3326, allocations: 222.1 kB / 475.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.873e-05/0.3326, allocations: 49.5 kB / 475.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.3327, allocations: 62.19 kB / 475.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.995e-05/0.3328, allocations: 349 kB / 476 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003091/0.3331, allocations: 118.3 kB / 476.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003118/0.3334, allocations: 154.6 kB / 476.3 MB, free: 12.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005452/0.334, allocations: 247.6 kB / 476.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.334, allocations: 0 / 476.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002798/0.3368, allocations: 0.629 MB / 477.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.3368, allocations: 5.625 kB / 477.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.3368, allocations: 1.797 kB / 477.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/0.3379, allocations: 263.8 kB / 477.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/0.3381, allocations: 50.38 kB / 477.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005853/0.344, allocations: 3.915 MB / 481.4 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005139/0.3445, allocations: 47.47 kB / 481.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.6e-05/0.3446, allocations: 6.844 kB / 481.5 MB, free: 9.031 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 (26): * Single equations (assignments): 24 * 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.0001905/0.3448, allocations: 154.5 kB / 481.6 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.561e-05/0.3448, allocations: 35.88 kB / 481.6 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.306e-05/0.3449, allocations: 36.75 kB / 481.7 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3449, allocations: 2.188 kB / 481.7 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.3449, allocations: 0 / 481.7 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3449, allocations: 1.219 kB / 481.7 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002639/0.3476, allocations: 0.9342 MB / 482.6 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.3476, allocations: 3.938 kB / 482.6 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.3477, allocations: 26.3 kB / 482.6 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004112/0.3481, allocations: 175.4 kB / 482.8 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.3482, allocations: 9.516 kB / 482.8 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003985/0.3521, allocations: 2.142 MB / 485 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3522, allocations: 0.9375 kB / 485 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002238/0.3544, allocations: 0.58 MB / 485.5 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.3546, allocations: 128.6 kB / 485.7 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.722e-05/0.3546, allocations: 1.312 kB / 485.7 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003343/0.3549, allocations: 26.81 kB / 485.7 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.355, allocations: 13.67 kB / 485.7 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.355, allocations: 7.719 kB / 485.7 MB, free: 5.707 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002754/0.3553, allocations: 272.7 kB / 486 MB, free: 5.535 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3553, allocations: 0 / 486 MB, free: 5.535 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005191/0.3558, allocations: 92.66 kB / 486.1 MB, free: 5.523 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 (13): * Single equations (assignments): 12 * 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.002413/0.3583, allocations: 1.115 MB / 487.2 MB, free: 4.637 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.3593, allocations: 0.5166 MB / 487.7 MB, free: 4.258 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3593, allocations: 0 / 487.7 MB, free: 4.258 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003297/0.3596, allocations: 218.9 kB / 487.9 MB, free: 4.094 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005079/0.3602, allocations: 80.83 kB / 488 MB, free: 4.051 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007824/0.368, allocations: 3.806 MB / 491.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.3682, allocations: 0.7854 MB / 492.6 MB, free: 0.793 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001733/0.3684, allocations: 38.52 kB / 492.6 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.3686, allocations: 124.6 kB / 492.8 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3686, allocations: 0 / 492.8 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03254/0.4011, allocations: 10.44 MB / 0.4914 GB, free: 8.133 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.02, allocations: 11.98 kB / 0.4914 GB, free: 8.121 MB / 366.1 MB (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleSymmetric_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleSymmetric.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe 2>&1)