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.005497/0.005497, allocations: 102 kB / 15.73 MB, free: 6.051 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.001136/0.001136, allocations: 195 kB / 16.68 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1356/0.1356, allocations: 5.383 MB / 295.9 MB, free: 2.891 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 63.89 kB / 412.3 MB, free: 10.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2568, allocations: 50.6 MB / 462.9 MB, free: 21.15 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.004423/0.2613, allocations: 4.408 MB / 467.3 MB, free: 17.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002275/0.2636, allocations: 1.589 MB / 468.9 MB, free: 16.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003043/0.2639, allocations: 12.5 kB / 468.9 MB, free: 16.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007673/0.2647, allocations: 296.1 kB / 469.2 MB, free: 16.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004828/0.2652, allocations: 233.9 kB / 469.4 MB, free: 16.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003772/0.2656, allocations: 209.5 kB / 469.6 MB, free: 16.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01955/0.2851, allocations: 25.71 MB / 495.3 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01007/0.2952, allocations: 7.954 MB / 0.4915 GB, free: 8.676 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0132/0.3085, allocations: 9.345 MB / 0.5006 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01702/0.3255, allocations: 10.86 MB / 0.5112 GB, free: 4.398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006274/0.3318, allocations: 2.703 MB / 0.5139 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008866/0.3407, allocations: 2.711 MB / 0.5165 GB, free: 14.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008238/0.349, allocations: 5.12 MB / 0.5215 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02295/0.372, allocations: 9.535 MB / 0.5308 GB, free: 284 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03782/0.4098, allocations: 28.93 MB / 0.5591 GB, free: 3.273 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.4099, allocations: 4 kB / 0.5591 GB, free: 3.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4099, allocations: 0 / 0.5591 GB, free: 3.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006803/0.4106, allocations: 0 / 0.5591 GB, free: 3.27 MB / 430.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.5184/0.929, allocations: 31.41 MB / 0.5898 GB, free: 77.85 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.337e-05/0.9291, allocations: 10.88 kB / 0.5898 GB, free: 77.85 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007156/0.9362, allocations: 1.118 MB / 0.5909 GB, free: 77.24 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009338/0.9456, allocations: 1.451 MB / 0.5923 GB, free: 76.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05452/1, allocations: 18.95 MB / 0.6108 GB, free: 66.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008923/1.001, allocations: 0.6344 MB / 0.6114 GB, free: 66.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00507/1.006, allocations: 0.8143 MB / 0.6122 GB, free: 66.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03858/1.045, allocations: 15.67 MB / 0.6275 GB, free: 53.35 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002316/1.045, allocations: 23.81 kB / 0.6275 GB, free: 53.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002294/1.047, allocations: 344 kB / 0.6279 GB, free: 52.99 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001166/1.047, allocations: 215 kB / 0.6281 GB, free: 52.78 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03382/1.081, allocations: 17.6 MB / 0.6453 GB, free: 35.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1102/1.192, allocations: 57.23 MB / 0.7011 GB, free: 9.254 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03614/1.228, allocations: 21.37 MB / 0.722 GB, free: 3.254 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01417/1.242, allocations: 7.444 MB / 0.7293 GB, free: 11.8 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003868/1.242, allocations: 71.45 kB / 0.7293 GB, free: 11.73 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.82e-05/1.242, allocations: 82.08 kB / 0.7294 GB, free: 11.64 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=448): time 6.282e-06/1.242, allocations: 0 / 0.7294 GB, free: 11.64 MB / 0.4982 GB Notification: Performance of matching and sorting (n=448): time 0.1211/1.364, allocations: 36.3 MB / 0.7649 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.781e-05/1.364, allocations: 102.9 kB / 0.765 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03413/1.398, allocations: 15.18 MB / 0.7798 GB, free: 8.062 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001947/1.4, allocations: 109.7 kB / 0.7799 GB, free: 7.949 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.007936/1.408, allocations: 6.096 MB / 0.7859 GB, free: 1.809 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00293/1.411, allocations: 1.576 MB / 0.7874 GB, free: 216 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2724/1.683, allocations: 2.097 MB / 0.7894 GB, free: 173.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.171e-05/1.683, allocations: 306.2 kB / 0.7897 GB, free: 173.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01821/1.701, allocations: 7.647 MB / 0.7972 GB, free: 173 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0188/1.72, allocations: 8.832 MB / 0.8058 GB, free: 169.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03083/1.751, allocations: 14.4 MB / 0.8199 GB, free: 163.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.553e-05/1.751, allocations: 6.281 kB / 0.8199 GB, free: 163.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.1164/1.868, allocations: 39.93 MB / 0.8589 GB, free: 137.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.759e-05/1.868, allocations: 19.94 kB / 0.8589 GB, free: 137.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.475e-05/1.868, allocations: 20 kB / 0.8589 GB, free: 137.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04498/1.913, allocations: 25.71 MB / 0.884 GB, free: 111.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006944/1.92, allocations: 1.486 MB / 0.8855 GB, free: 110.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6222/2.542, allocations: 202.7 MB / 1.083 GB, free: 132.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01955/2.562, allocations: 2.566 MB / 1.086 GB, free: 130.8 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003168/2.565, allocations: 371.7 kB / 1.086 GB, free: 130.4 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 105 * 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 (840): * Single equations (assignments): 791 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 48 * 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): 48 systems {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 (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 {(47,200)} Notification: Performance of prepare postOptimizeDAE: time 0.01116/2.576, allocations: 4.527 MB / 1.091 GB, free: 126 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005084/2.581, allocations: 1.163 MB / 1.092 GB, free: 125.4 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09347/2.675, allocations: 31.8 MB / 1.123 GB, free: 93.81 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.585e-05/2.675, allocations: 40 kB / 1.123 GB, free: 93.77 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/2.675, allocations: 4 kB / 1.123 GB, free: 93.77 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.455e-05/2.675, allocations: 27.91 kB / 1.123 GB, free: 93.74 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1228/2.798, allocations: 46.47 MB / 1.168 GB, free: 47.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.516e-05/2.798, allocations: 0 / 1.168 GB, free: 47.4 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001804/2.799, allocations: 455.4 kB / 1.169 GB, free: 46.96 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02319/2.823, allocations: 15.45 MB / 1.184 GB, free: 31.54 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001687/2.824, allocations: 115.9 kB / 1.184 GB, free: 31.42 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5534/3.378, allocations: 114.9 MB / 1.296 GB, free: 131.3 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/3.378, allocations: 0 / 1.296 GB, free: 131.3 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09459/3.472, allocations: 30.88 MB / 1.326 GB, free: 101.1 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009047/3.482, allocations: 2.654 MB / 1.329 GB, free: 98.53 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005615/3.487, allocations: 72 kB / 1.329 GB, free: 98.46 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01147/3.499, allocations: 1.4 MB / 1.33 GB, free: 97.06 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007053/3.499, allocations: 280 kB / 1.331 GB, free: 96.79 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008756/3.5, allocations: 146.4 kB / 1.331 GB, free: 96.65 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.01573/3.516, allocations: 10.49 MB / 1.341 GB, free: 86.23 MB / 0.5607 GB Notification: Performance of sort global known variables: time 3.61e-07/3.516, allocations: 3.844 kB / 1.341 GB, free: 86.23 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01627/3.532, allocations: 3.714 MB / 1.345 GB, free: 82.64 MB / 0.5607 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 (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 {(48,154)} Notification: Performance of Backend phase and start with SimCode phase: time 0.09332/3.626, allocations: 31.56 MB / 1.376 GB, free: 51.15 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.07583/3.702, allocations: 33.13 MB / 1.408 GB, free: 17.2 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/3.702, allocations: 0 / 1.408 GB, free: 17.2 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.05474/3.756, allocations: 17.29 MB / 1.425 GB, free: 15.89 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2581/4.014, allocations: 3.103 MB / 1.428 GB, free: 182.4 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4652/4.48, allocations: 171.1 MB / 1.595 GB, free: 57.94 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01761/4.497, allocations: 8.682 MB / 1.603 GB, free: 49.21 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.01251/4.51, allocations: 3.772 MB / 1.607 GB, free: 45.46 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009392/4.519, allocations: 5.002 MB / 1.612 GB, free: 40.46 MB / 0.5763 GB Notification: Performance of SimCode: time 1.262e-06/4.519, allocations: 0 / 1.612 GB, free: 40.46 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.055/5.574, allocations: 403.4 MB / 2.006 GB, free: 54.13 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 57.03/62.6, allocations: 11.59 kB / 2.006 GB, free: 54.12 MB / 0.5763 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/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)