Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic.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.SimpleCellIrradianceCharacteristic,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellIrradianceCharacteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellIrradianceCharacteristic",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.001076/0.001076, allocations: 99.78 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.001037/0.001037, 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.364/1.364, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1622/0.1622, allocations: 5.374 MB / 296.4 MB, free: 3.867 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003077/0.0003077, allocations: 12 kB / 361.9 MB, free: 14.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1074, allocations: 51.6 MB / 413.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic): time 0.003826/0.1112, allocations: 3.164 MB / 416.7 MB, free: 7.359 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002476/0.1137, allocations: 1.396 MB / 418.1 MB, free: 5.961 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002689/0.114, allocations: 8 kB / 418.1 MB, free: 5.953 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004928/0.1145, allocations: 179.1 kB / 418.2 MB, free: 5.777 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004082/0.115, allocations: 187.4 kB / 418.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004081/0.1154, allocations: 147.7 kB / 418.6 MB, free: 5.449 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005965/0.116, allocations: 459.1 kB / 419 MB, free: 5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002999/0.1163, allocations: 140.4 kB / 419.2 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002797/0.1166, allocations: 227.1 kB / 419.4 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003913/0.117, allocations: 282.7 kB / 419.7 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.254e-05/0.1171, allocations: 32 kB / 419.7 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.1172, allocations: 35.94 kB / 419.7 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.1173, allocations: 103.6 kB / 419.8 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.1175, allocations: 117.4 kB / 419.9 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006113/0.1181, allocations: 0.5182 MB / 420.5 MB, free: 3.543 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1181, allocations: 0 / 420.5 MB, free: 3.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1181, allocations: 4 kB / 420.5 MB, free: 3.539 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.1181, allocations: 0 / 420.5 MB, free: 3.539 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.002466/0.1206, allocations: 0.9637 MB / 421.4 MB, free: 2.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/0.1206, allocations: 12.03 kB / 421.4 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001012/0.1208, allocations: 66.53 kB / 421.5 MB, free: 2.434 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.1209, allocations: 59.25 kB / 421.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.1222, allocations: 0.5597 MB / 422.1 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/0.1223, allocations: 40.64 kB / 422.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.513e-05/0.1224, allocations: 36 kB / 422.2 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.1234, allocations: 471.4 kB / 422.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.1235, allocations: 0 / 422.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.845e-05/0.1235, allocations: 12 kB / 422.7 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.1235, allocations: 4 kB / 422.7 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.1247, allocations: 454.2 kB / 423.1 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1929/0.3176, allocations: 1.647 MB / 424.8 MB, free: 43.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/0.3193, allocations: 0.6286 MB / 425.4 MB, free: 43.72 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.907e-05/0.3193, allocations: 4.469 kB / 425.4 MB, free: 43.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007259/0.3201, allocations: 280.9 kB / 425.7 MB, free: 43.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.964e-06/0.3201, allocations: 0 / 425.7 MB, free: 43.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.003542/0.3236, allocations: 1.055 MB / 426.7 MB, free: 43.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.3237, allocations: 87.31 kB / 426.8 MB, free: 43.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005051/0.3242, allocations: 452.4 kB / 427.2 MB, free: 43.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.968e-05/0.3243, allocations: 32.17 kB / 427.3 MB, free: 43.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/0.3245, allocations: 263.5 kB / 427.5 MB, free: 43.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.869e-05/0.3245, allocations: 80.11 kB / 427.6 MB, free: 43.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.308e-05/0.3246, allocations: 6.688 kB / 427.6 MB, free: 43.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.028e-05/0.3246, allocations: 356.8 kB / 428 MB, free: 42.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004868/0.3251, allocations: 201.2 kB / 428.2 MB, free: 42.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005003/0.3256, allocations: 250.7 kB / 428.4 MB, free: 42.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005124/0.3262, allocations: 237.6 kB / 428.6 MB, free: 42.76 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.3262, allocations: 0.75 kB / 428.6 MB, free: 42.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002483/0.3287, allocations: 0.8451 MB / 429.5 MB, free: 42.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.3288, allocations: 390.6 kB / 429.9 MB, free: 42.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.3288, allocations: 0 / 429.9 MB, free: 42.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007485/0.3295, allocations: 261 kB / 430.1 MB, free: 42.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003726/0.3299, allocations: 87.47 kB / 430.2 MB, free: 42.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004248/0.3342, allocations: 3.556 MB / 433.8 MB, free: 39.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005662/0.3348, allocations: 83.45 kB / 433.8 MB, free: 39.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/0.3348, allocations: 12.22 kB / 433.9 MB, free: 39.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.975e-06/0.3348, allocations: 10.09 kB / 433.9 MB, free: 39.48 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002437/0.3373, allocations: 0.7862 MB / 434.7 MB, free: 39.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3373, allocations: 1.75 kB / 434.7 MB, free: 39.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006406/0.3379, allocations: 249.1 kB / 434.9 MB, free: 39.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003296/0.3383, allocations: 86.05 kB / 435 MB, free: 39.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003981/0.3423, allocations: 3.544 MB / 438.5 MB, free: 36.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00053/0.3428, allocations: 75.66 kB / 438.6 MB, free: 36.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.732e-05/0.3429, allocations: 17.69 kB / 438.6 MB, free: 36.63 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: 6 ($whenCondition1,triangleAndStep.realToInteger.y,$PRE.triangleAndStep.trapezoid.T_start,triangleAndStep.trapezoid.T_start,$PRE.triangleAndStep.trapezoid.count,triangleAndStep.trapezoid.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002498/0.3431, allocations: 246.7 kB / 438.9 MB, free: 36.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.009e-05/0.3432, allocations: 42.97 kB / 438.9 MB, free: 36.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.345e-05/0.3433, allocations: 50.58 kB / 439 MB, free: 36.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.3433, allocations: 3.188 kB / 439 MB, free: 36.39 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3433, allocations: 0 / 439 MB, free: 36.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.3433, allocations: 7.469 kB / 439 MB, free: 36.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002708/0.3461, allocations: 1.207 MB / 440.2 MB, free: 36.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3461, allocations: 0 / 440.2 MB, free: 36.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002575/0.3463, allocations: 60.83 kB / 440.2 MB, free: 36.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003177/0.3467, allocations: 183.4 kB / 440.4 MB, free: 36.01 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/0.3467, allocations: 7.062 kB / 440.4 MB, free: 36.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002802/0.3495, allocations: 1.99 MB / 442.4 MB, free: 34.72 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3495, allocations: 3.188 kB / 442.4 MB, free: 34.72 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002118/0.3517, allocations: 0.7751 MB / 443.2 MB, free: 34.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001921/0.3519, allocations: 157.5 kB / 443.3 MB, free: 34.28 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.772e-05/0.352, allocations: 10.2 kB / 443.3 MB, free: 34.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000423/0.3524, allocations: 60.7 kB / 443.4 MB, free: 34.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.3525, allocations: 35.47 kB / 443.4 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.3525, allocations: 13.62 kB / 443.5 MB, free: 34.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003205/0.3529, allocations: 311.2 kB / 443.8 MB, free: 34.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3529, allocations: 4 kB / 443.8 MB, free: 34.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008194/0.3537, allocations: 215.3 kB / 444 MB, free: 34.05 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: 4 ($whenCondition1,triangleAndStep.realToInteger.y,triangleAndStep.trapezoid.T_start,triangleAndStep.trapezoid.count) * Number of discrete states: 1 (triangleAndStep.trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002329/0.356, allocations: 1.405 MB / 445.4 MB, free: 33.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002217/0.3583, allocations: 1.307 MB / 446.7 MB, free: 32.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3583, allocations: 0 / 446.7 MB, free: 32.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005548/0.3588, allocations: 327.4 kB / 447 MB, free: 32.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004681/0.3593, allocations: 84.16 kB / 447.1 MB, free: 32.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/0.3611, allocations: 1.776 MB / 448.9 MB, free: 30.81 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.3614, allocations: 0.8362 MB / 449.7 MB, free: 30.11 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003191/0.3617, allocations: 69.69 kB / 449.8 MB, free: 30.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/0.3619, allocations: 165.3 kB / 449.9 MB, free: 29.95 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3619, allocations: 0 / 449.9 MB, free: 29.95 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.3898, allocations: 12.93 MB / 462.9 MB, free: 29.07 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001563/0.39, allocations: 214.3 kB / 463.1 MB, free: 28.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.877/2.267, allocations: 0 / 463.1 MB, free: 28.84 MB / 350.1 MB (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellIrradianceCharacteristic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellIrradianceCharacteristic.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic.pipe 2>&1) Environment - environmentSimulation: