Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.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.SimpleModuleShadow,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleShadow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleShadow,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleShadow",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.001179/0.001179, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.00144/0.00144, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1307/0.1307, allocations: 5.377 MB / 296.3 MB, free: 4 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000305/0.0003051, allocations: 8 kB / 361.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09518/0.09551, allocations: 51.6 MB / 413.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.004052/0.09961, allocations: 3.57 MB / 417.1 MB, free: 6.949 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002524/0.1022, allocations: 1.517 MB / 418.6 MB, free: 5.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004547/0.1026, allocations: 11.88 kB / 418.6 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006968/0.1034, allocations: 238.8 kB / 418.8 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007427/0.1041, allocations: 299.2 kB / 419.1 MB, free: 4.891 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003252/0.1045, allocations: 127.8 kB / 419.2 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2209/0.3254, allocations: 22.42 MB / 441.7 MB, free: 38.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006314/0.3317, allocations: 5.633 MB / 447.3 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008955/0.3407, allocations: 5.995 MB / 453.3 MB, free: 34.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01303/0.3538, allocations: 7.681 MB / 461 MB, free: 31.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004397/0.3582, allocations: 0.8169 MB / 461.8 MB, free: 31.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006877/0.3651, allocations: 0.8206 MB / 462.6 MB, free: 31.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004276/0.3694, allocations: 2.741 MB / 465.4 MB, free: 30 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006681/0.3761, allocations: 2.729 MB / 468.1 MB, free: 28.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02072/0.3968, allocations: 22.7 MB / 490.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3969, allocations: 0 / 490.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3969, allocations: 0 / 490.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0007833/0.3977, allocations: 0 / 490.8 MB, free: 12.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: 2129 * Number of variables: 2129 Notification: Performance of Generate backend data structure: time 0.0887/0.4864, allocations: 28.13 MB / 0.5068 GB, free: 452 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.4864, allocations: 8.031 kB / 0.5068 GB, free: 444 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007066/0.4935, allocations: 1.126 MB / 0.5079 GB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008688/0.5022, allocations: 1.447 MB / 0.5093 GB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05622/0.5585, allocations: 18.67 MB / 0.5275 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007827/0.5593, allocations: 0.6256 MB / 0.5281 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004213/0.5635, allocations: 0.8125 MB / 0.5289 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04218/0.6057, allocations: 15.76 MB / 0.5443 GB, free: 9.328 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002741/0.606, allocations: 27.8 kB / 0.5443 GB, free: 9.301 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003587/0.6096, allocations: 348 kB / 0.5447 GB, free: 8.961 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001724/0.6098, allocations: 212 kB / 0.5449 GB, free: 8.754 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0407/0.6505, allocations: 17.95 MB / 0.5624 GB, free: 6.781 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5325/1.183, allocations: 57.94 MB / 0.619 GB, free: 71.33 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03383/1.217, allocations: 21.93 MB / 0.6404 GB, free: 61.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002718/1.217, allocations: 67.45 kB / 0.6404 GB, free: 61.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.954e-05/1.217, allocations: 77.61 kB / 0.6405 GB, free: 61.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=448): time 5.68e-06/1.217, allocations: 0 / 0.6405 GB, free: 61.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=448): time 0.1069/1.324, allocations: 37.86 MB / 0.6775 GB, free: 46.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/1.324, allocations: 96.98 kB / 0.6776 GB, free: 46.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02809/1.352, allocations: 15.09 MB / 0.6923 GB, free: 33.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00187/1.354, allocations: 109.7 kB / 0.6924 GB, free: 33.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005771/1.36, allocations: 6.082 MB / 0.6984 GB, free: 27.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002737/1.363, allocations: 1.584 MB / 0.6999 GB, free: 26.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001603/1.364, allocations: 176 kB / 0.7001 GB, free: 26.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000385/1.365, allocations: 0.6698 MB / 0.7007 GB, free: 25.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01347/1.378, allocations: 7.814 MB / 0.7084 GB, free: 17.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01588/1.394, allocations: 8.952 MB / 0.7171 GB, free: 8.457 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01599/1.41, allocations: 8.563 MB / 0.7255 GB, free: 15.86 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.908e-05/1.41, allocations: 8 kB / 0.7255 GB, free: 15.86 MB / 462.1 MB Notification: Performance of matching and sorting (n=1131) (initialization): time 0.1289/1.539, allocations: 41.24 MB / 0.7658 GB, free: 6.375 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.394e-05/1.539, allocations: 12 kB / 0.7658 GB, free: 6.363 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.094e-05/1.539, allocations: 24 kB / 0.7658 GB, free: 6.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2738/1.813, allocations: 25.98 MB / 0.7912 GB, free: 126.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007255/1.82, allocations: 1.493 MB / 0.7926 GB, free: 126.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5486/2.369, allocations: 200.9 MB / 0.9888 GB, free: 101.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01852/2.388, allocations: 2.654 MB / 0.9914 GB, free: 101.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002561/2.39, allocations: 377.6 kB / 0.9918 GB, free: 101.7 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * 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 (838): * Single equations (assignments): 789 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 48 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 48 {2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {47 199} Notification: Performance of prepare postOptimizeDAE: time 0.009935/2.4, allocations: 4.528 MB / 0.9962 GB, free: 99.95 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002928/2.403, allocations: 1.153 MB / 0.9973 GB, free: 99.45 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08878/2.492, allocations: 33.17 MB / 1.03 GB, free: 92.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.734e-05/2.492, allocations: 41.69 kB / 1.03 GB, free: 92.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/2.492, allocations: 0 / 1.03 GB, free: 92.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001456/2.492, allocations: 26.31 kB / 1.03 GB, free: 92.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1215/2.614, allocations: 50.59 MB / 1.079 GB, free: 50.35 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.953e-05/2.614, allocations: 0 / 1.079 GB, free: 50.35 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001833/2.616, allocations: 464.2 kB / 1.08 GB, free: 49.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02334/2.639, allocations: 15.77 MB / 1.095 GB, free: 34.17 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001414/2.64, allocations: 122.2 kB / 1.095 GB, free: 34.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4942/3.135, allocations: 117.6 MB / 1.21 GB, free: 113.7 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/3.135, allocations: 3.969 kB / 1.21 GB, free: 113.7 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08661/3.221, allocations: 32.25 MB / 1.241 GB, free: 88.68 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009779/3.231, allocations: 2.702 MB / 1.244 GB, free: 86 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003817/3.235, allocations: 72.56 kB / 1.244 GB, free: 85.93 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01014/3.245, allocations: 1.506 MB / 1.246 GB, free: 84.43 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005318/3.246, allocations: 276 kB / 1.246 GB, free: 84.16 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005162/3.246, allocations: 143.9 kB / 1.246 GB, free: 84.02 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.0159/3.262, allocations: 10.39 MB / 1.256 GB, free: 73.7 MB / 0.4982 GB Notification: Performance of sort global known variables: time 3.4e-07/3.262, allocations: 0 / 1.256 GB, free: 73.7 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01343/3.275, allocations: 3.709 MB / 1.26 GB, free: 70.1 MB / 0.4982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (250): * Single equations (assignments): 249 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {48 154} Notification: Performance of Backend phase and start with SimCode phase: time 0.08428/3.36, allocations: 32.94 MB / 1.292 GB, free: 37.29 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.2713/3.631, allocations: 33.99 MB / 1.325 GB, free: 132 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/3.631, allocations: 3.031 kB / 1.325 GB, free: 132 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.05218/3.683, allocations: 18.27 MB / 1.343 GB, free: 131.2 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01445/3.698, allocations: 2.962 MB / 1.346 GB, free: 130.9 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07559/3.773, allocations: 62.01 MB / 1.406 GB, free: 91.3 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008432/3.782, allocations: 8.917 MB / 1.415 GB, free: 88.5 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.0105/3.792, allocations: 3.848 MB / 1.419 GB, free: 87.61 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008625/3.801, allocations: 5.002 MB / 1.424 GB, free: 83.18 MB / 0.4982 GB Notification: Performance of SimCode: time 1.313e-06/3.801, allocations: 0 / 1.424 GB, free: 83.18 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9069/4.708, allocations: 365.5 MB / 1.781 GB, free: 111.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001471/4.708, allocations: 196.5 kB / 1.781 GB, free: 111.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.49/18.2, allocations: 4 kB / 1.781 GB, free: 111.4 MB / 0.5294 GB (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleShadow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleShadow.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe 2>&1) Environment - environmentSimulation: