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.00546/0.00546, allocations: 104.2 kB / 15.73 MB, free: 6.039 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.001213/0.001213, allocations: 193.8 kB / 16.67 MB, free: 5.969 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1352/0.1352, allocations: 5.375 MB / 295.9 MB, free: 2.785 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002003, allocations: 67.89 kB / 412.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3084, allocations: 50.61 MB / 462.9 MB, free: 21.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleSymmetric): time 0.005341/0.3138, allocations: 3.436 MB / 466.4 MB, free: 18.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002275/0.3161, allocations: 1.272 MB / 467.6 MB, free: 17.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002822/0.3165, allocations: 8.406 kB / 467.6 MB, free: 17.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006144/0.3171, allocations: 230.5 kB / 467.9 MB, free: 17.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004486/0.3176, allocations: 170.4 kB / 468 MB, free: 17.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002302/0.3178, allocations: 122.7 kB / 468.1 MB, free: 17.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005961/0.3184, allocations: 0.5776 MB / 468.7 MB, free: 17.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002391/0.3187, allocations: 126.3 kB / 468.8 MB, free: 17.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002628/0.3189, allocations: 216.4 kB / 469.1 MB, free: 17.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002897/0.3192, allocations: 258.7 kB / 469.3 MB, free: 17.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.046e-05/0.3193, allocations: 53.62 kB / 469.4 MB, free: 17.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.3194, allocations: 63.72 kB / 469.4 MB, free: 17.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.084e-05/0.3195, allocations: 110.2 kB / 469.5 MB, free: 16.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001878/0.3197, allocations: 231.7 kB / 469.8 MB, free: 16.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005724/0.3203, allocations: 0.5403 MB / 470.3 MB, free: 16.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3203, allocations: 0 / 470.3 MB, free: 16.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3203, allocations: 0 / 470.3 MB, free: 16.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.3203, allocations: 0 / 470.3 MB, free: 16.59 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.001854/0.3222, allocations: 0.8249 MB / 471.1 MB, free: 16.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.3223, allocations: 8.812 kB / 471.1 MB, free: 16.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.097e-05/0.3223, allocations: 56.95 kB / 471.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.121e-05/0.3224, allocations: 49.41 kB / 471.2 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.3236, allocations: 0.4923 MB / 471.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.3236, allocations: 22.25 kB / 471.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.552e-05/0.3237, allocations: 24.69 kB / 471.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006292/0.3243, allocations: 326.4 kB / 472.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.3244, allocations: 1.344 kB / 472.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.805e-05/0.3244, allocations: 5.562 kB / 472.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.3244, allocations: 6.844 kB / 472.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006845/0.3251, allocations: 281.2 kB / 472.4 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002159/0.3273, allocations: 1.312 MB / 473.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006022/0.3279, allocations: 317.6 kB / 474 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003722/0.3283, allocations: 134.3 kB / 474.1 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.076e-05/0.3283, allocations: 10.12 kB / 474.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.573e-05/0.3283, allocations: 32.03 kB / 474.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.864e-06/0.3283, allocations: 0 / 474.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.003382/0.3317, allocations: 0.7514 MB / 474.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.3318, allocations: 53.81 kB / 475 MB, free: 13.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004332/0.3322, allocations: 384.5 kB / 475.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.3322, allocations: 30.77 kB / 475.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.3324, allocations: 224.9 kB / 475.6 MB, free: 13.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.3324, allocations: 47.06 kB / 475.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.3325, allocations: 65.28 kB / 475.7 MB, free: 13.31 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.979e-05/0.3326, allocations: 346.2 kB / 476 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003055/0.3329, allocations: 108.7 kB / 476.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003144/0.3332, allocations: 156.4 kB / 476.3 MB, free: 12.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005707/0.3338, allocations: 263.3 kB / 476.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.3338, allocations: 0 / 476.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002552/0.3364, allocations: 0.6286 MB / 477.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.3364, allocations: 5.734 kB / 477.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.3364, allocations: 1.219 kB / 477.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009297/0.3373, allocations: 267.8 kB / 477.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/0.3376, allocations: 42.44 kB / 477.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005605/0.3432, allocations: 3.925 MB / 481.4 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004465/0.3437, allocations: 43.05 kB / 481.5 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/0.3437, allocations: 14.48 kB / 481.5 MB, free: 9.023 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.0001717/0.3439, allocations: 144 kB / 481.6 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.041e-05/0.344, allocations: 35.88 kB / 481.7 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.381e-05/0.3441, allocations: 45.03 kB / 481.7 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.3441, allocations: 2.188 kB / 481.7 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.3441, allocations: 0 / 481.7 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.3441, allocations: 5.141 kB / 481.7 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002643/0.3467, allocations: 0.9262 MB / 482.6 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3468, allocations: 5.438 kB / 482.6 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.3469, allocations: 29.77 kB / 482.7 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004084/0.3473, allocations: 171.7 kB / 482.8 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.3473, allocations: 5.094 kB / 482.8 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003798/0.3511, allocations: 2.146 MB / 485 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3511, allocations: 1.312 kB / 485 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002114/0.3533, allocations: 0.5689 MB / 485.6 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.3534, allocations: 131.8 kB / 485.7 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.386e-05/0.3535, allocations: 9.141 kB / 485.7 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003053/0.3538, allocations: 19.02 kB / 485.7 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.608e-05/0.3538, allocations: 14.39 kB / 485.7 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.3539, allocations: 2.75 kB / 485.7 MB, free: 5.719 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002764/0.3541, allocations: 276.7 kB / 486 MB, free: 5.543 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3541, allocations: 5.312 kB / 486 MB, free: 5.539 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005079/0.3547, allocations: 96.19 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.002312/0.357, allocations: 1.114 MB / 487.2 MB, free: 4.641 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.3581, allocations: 0.509 MB / 487.7 MB, free: 4.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3581, allocations: 8.125 kB / 487.7 MB, free: 4.262 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003455/0.3584, allocations: 217 kB / 487.9 MB, free: 4.098 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005066/0.3589, allocations: 81.11 kB / 488 MB, free: 4.055 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007925/0.3669, allocations: 3.808 MB / 491.8 MB, free: 1.543 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001864/0.3671, allocations: 0.7854 MB / 492.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001682/0.3673, allocations: 46.45 kB / 492.7 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.3674, allocations: 119.8 kB / 492.8 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3674, allocations: 1.375 kB / 492.8 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0338/0.4012, allocations: 10.22 MB / 0.4912 GB, free: 8.355 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.95, allocations: 10.02 kB / 0.4912 GB, free: 8.348 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)