Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.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.SimpleCellVoltageSource,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleCellVoltageSource,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource",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.006434/0.006434, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001479/0.00148, allocations: 195.2 kB / 16.67 MB, free: 5.52 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.0281/0.0281, allocations: 5.401 MB / 295.9 MB, free: 9.477 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 63.89 kB / 412.3 MB, free: 23.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08464/0.08588, allocations: 50.63 MB / 462.9 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.004484/0.0904, allocations: 3.272 MB / 466.2 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002035/0.09246, allocations: 1.227 MB / 467.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002699/0.09276, allocations: 4 kB / 467.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005946/0.09338, allocations: 234.7 kB / 467.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003859/0.09378, allocations: 142.9 kB / 467.8 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001875/0.09398, allocations: 111.9 kB / 467.9 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004663/0.09445, allocations: 0.5293 MB / 468.4 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002626/0.09472, allocations: 116 kB / 468.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002049/0.09494, allocations: 199.3 kB / 468.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002507/0.0952, allocations: 231.1 kB / 469 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.262e-05/0.09527, allocations: 52 kB / 469 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.839e-05/0.09537, allocations: 59.98 kB / 469.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.09551, allocations: 107.6 kB / 469.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001796/0.0957, allocations: 211 kB / 469.4 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004502/0.09616, allocations: 0.5026 MB / 469.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.09617, allocations: 3.938 kB / 469.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.09618, allocations: 0 / 469.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.09619, allocations: 3.938 kB / 469.9 MB, free: 13.36 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001778/0.09797, allocations: 0.7751 MB / 470.7 MB, free: 12.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.09802, allocations: 12.03 kB / 470.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.24e-05/0.09809, allocations: 58.72 kB / 470.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.366e-05/0.09817, allocations: 40.47 kB / 470.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009874/0.09916, allocations: 464 kB / 471.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.09919, allocations: 20.38 kB / 471.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.761e-05/0.09924, allocations: 24 kB / 471.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005059/0.09975, allocations: 271.4 kB / 471.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.09978, allocations: 7.938 kB / 471.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/0.09981, allocations: 16 kB / 471.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.09982, allocations: 4 kB / 471.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005231/0.1003, allocations: 229 kB / 471.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002111/0.1025, allocations: 1.261 MB / 473.1 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003712/0.1029, allocations: 138.5 kB / 473.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002978/0.1032, allocations: 104.8 kB / 473.3 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.1032, allocations: 4 kB / 473.3 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.1033, allocations: 38.5 kB / 473.3 MB, free: 9.695 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/0.1033, allocations: 0 / 473.3 MB, free: 9.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007709/0.104, allocations: 245.2 kB / 473.6 MB, free: 9.449 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.1041, allocations: 59.41 kB / 473.6 MB, free: 9.379 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004267/0.1045, allocations: 373.7 kB / 474 MB, free: 9.004 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.1046, allocations: 25.7 kB / 474 MB, free: 8.973 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.1047, allocations: 211.7 kB / 474.2 MB, free: 8.758 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.1047, allocations: 23.66 kB / 474.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.1049, allocations: 53.59 kB / 474.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.105, allocations: 342.7 kB / 474.6 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/0.1052, allocations: 99.94 kB / 474.7 MB, free: 8.234 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002518/0.1055, allocations: 127.3 kB / 474.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004434/0.106, allocations: 195.3 kB / 475.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.106, allocations: 4 kB / 475.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009468/0.1069, allocations: 348.7 kB / 475.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.1069, allocations: 7.984 kB / 475.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.107, allocations: 4 kB / 475.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004835/0.1074, allocations: 80.84 kB / 475.5 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003262/0.1078, allocations: 59.83 kB / 475.6 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001582/0.1094, allocations: 1.566 MB / 477.1 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003422/0.1097, allocations: 31.8 kB / 477.1 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.1098, allocations: 20.08 kB / 477.2 MB, free: 5.629 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 (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0001523/0.1099, allocations: 141.7 kB / 477.3 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.855e-05/0.11, allocations: 43.47 kB / 477.3 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.269e-05/0.1101, allocations: 27 kB / 477.4 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1101, allocations: 0 / 477.4 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.1101, allocations: 0 / 477.4 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1101, allocations: 0 / 477.4 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000843/0.1109, allocations: 0.5928 MB / 478 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.1109, allocations: 3.938 kB / 478 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.1111, allocations: 31.97 kB / 478 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.1111, allocations: 4 kB / 478 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.1111, allocations: 4 kB / 478 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1112, allocations: 7.969 kB / 478 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1112, allocations: 0 / 478 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004635/0.1116, allocations: 287.9 kB / 478.3 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.1118, allocations: 128.7 kB / 478.4 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.477e-05/0.1118, allocations: 0 / 478.4 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.112, allocations: 15.98 kB / 478.4 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.1121, allocations: 11.92 kB / 478.5 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.1121, allocations: 4 kB / 478.5 MB, free: 4.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002597/0.1124, allocations: 255.2 kB / 478.7 MB, free: 3.984 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1124, allocations: 0 / 478.7 MB, free: 3.984 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003447/0.1127, allocations: 71.84 kB / 478.8 MB, free: 3.914 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000745/0.1135, allocations: 0.8271 MB / 479.6 MB, free: 3.059 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007615/0.1142, allocations: 343.2 kB / 479.9 MB, free: 2.707 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1143, allocations: 0 / 479.9 MB, free: 2.707 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.1145, allocations: 80.2 kB / 480 MB, free: 2.629 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004819/0.115, allocations: 76.25 kB / 480.1 MB, free: 2.559 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004413/0.1194, allocations: 3.069 MB / 483.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.1197, allocations: 0.7717 MB / 483.9 MB, free: 14.58 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001751/0.1199, allocations: 42.95 kB / 484 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.1201, allocations: 103.4 kB / 484.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1201, allocations: 3.938 kB / 484.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02752/0.1476, allocations: 7.034 MB / 491.1 MB, free: 7.562 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.49, allocations: 6.953 kB / 491.1 MB, free: 7.559 MB / 366.1 MB (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe 2>&1)