Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.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.SimpleCell,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCell",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleCell,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCell",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.000862/0.0008619, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.0011/0.0011, allocations: 168.7 kB / 15.95 MB, free: 204 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.419/1.419, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1654/0.1654, allocations: 5.386 MB / 296.5 MB, free: 3.945 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004976/0.0004977, allocations: 12 kB / 362 MB, free: 14.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1135, allocations: 51.61 MB / 413.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.00336/0.1169, allocations: 2.911 MB / 416.5 MB, free: 7.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001876/0.1188, allocations: 1.177 MB / 417.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001999/0.119, allocations: 7.938 kB / 417.7 MB, free: 6.414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005185/0.1195, allocations: 195 kB / 417.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003388/0.1199, allocations: 115.1 kB / 418 MB, free: 6.109 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001896/0.1201, allocations: 83.88 kB / 418.1 MB, free: 6.027 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000569/0.1207, allocations: 494 kB / 418.6 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002473/0.1209, allocations: 90.02 kB / 418.7 MB, free: 5.449 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.1212, allocations: 171.3 kB / 418.8 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003278/0.1215, allocations: 211.1 kB / 419 MB, free: 5.074 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.082e-05/0.1216, allocations: 24 kB / 419.1 MB, free: 5.051 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.501e-05/0.1217, allocations: 28 kB / 419.1 MB, free: 5.023 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.198e-05/0.1217, allocations: 75.64 kB / 419.2 MB, free: 4.949 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.309e-05/0.1218, allocations: 93.52 kB / 419.2 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003792/0.1222, allocations: 398.8 kB / 419.6 MB, free: 4.461 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1222, allocations: 0 / 419.6 MB, free: 4.461 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1222, allocations: 0 / 419.6 MB, free: 4.461 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.1222, allocations: 0 / 419.6 MB, free: 4.461 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001715/0.124, allocations: 0.7674 MB / 420.4 MB, free: 3.645 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.124, allocations: 8.031 kB / 420.4 MB, free: 3.637 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.131e-05/0.1241, allocations: 58.55 kB / 420.5 MB, free: 3.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.349e-05/0.1242, allocations: 39.53 kB / 420.5 MB, free: 3.531 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.1252, allocations: 483 kB / 421 MB, free: 3.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.1253, allocations: 16.56 kB / 421 MB, free: 3.004 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.768e-05/0.1253, allocations: 24 kB / 421 MB, free: 2.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005692/0.1259, allocations: 317 kB / 421.3 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.1259, allocations: 4 kB / 421.3 MB, free: 2.652 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.213e-05/0.1259, allocations: 15.95 kB / 421.3 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.487e-06/0.126, allocations: 4 kB / 421.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005647/0.1265, allocations: 265.5 kB / 421.6 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002227/0.1288, allocations: 1.298 MB / 422.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005464/0.1293, allocations: 275.6 kB / 423.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002924/0.1296, allocations: 128.8 kB / 423.3 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.1297, allocations: 3.953 kB / 423.3 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.1297, allocations: 30.56 kB / 423.3 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.1297, allocations: 4 kB / 423.3 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.2218/0.3516, allocations: 0.8362 MB / 424.2 MB, free: 45.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.3516, allocations: 56.98 kB / 424.2 MB, free: 45.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005812/0.3522, allocations: 377.4 kB / 424.6 MB, free: 45.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.3523, allocations: 30.42 kB / 424.6 MB, free: 45.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.3524, allocations: 220.8 kB / 424.8 MB, free: 45.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.031e-05/0.3525, allocations: 39.86 kB / 424.9 MB, free: 45.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.797e-05/0.3525, allocations: 4.906 kB / 424.9 MB, free: 45.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.911e-05/0.3526, allocations: 344.5 kB / 425.2 MB, free: 44.9 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003068/0.3529, allocations: 112 kB / 425.3 MB, free: 44.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003098/0.3533, allocations: 148.1 kB / 425.5 MB, free: 44.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.3535, allocations: 124.9 kB / 425.6 MB, free: 44.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.3535, allocations: 0 / 425.6 MB, free: 44.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001924/0.3555, allocations: 0.6125 MB / 426.2 MB, free: 44.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.3555, allocations: 6.531 kB / 426.2 MB, free: 44.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.944e-06/0.3555, allocations: 0 / 426.2 MB, free: 44.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008026/0.3563, allocations: 256.4 kB / 426.5 MB, free: 44.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.3565, allocations: 47.47 kB / 426.5 MB, free: 44.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00445/0.361, allocations: 3.55 MB / 430.1 MB, free: 42.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003771/0.3614, allocations: 53.81 kB / 430.1 MB, free: 42.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.3614, allocations: 6.062 kB / 430.1 MB, free: 42.06 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): 20 * Array equations: 0 * Algorithm blocks: 0 * 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 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001962/0.3616, allocations: 151.2 kB / 430.3 MB, free: 41.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.858e-05/0.3617, allocations: 35.09 kB / 430.3 MB, free: 41.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.427e-05/0.3618, allocations: 32.39 kB / 430.3 MB, free: 41.92 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3618, allocations: 4 kB / 430.3 MB, free: 41.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.3618, allocations: 1.875 kB / 430.3 MB, free: 41.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.3618, allocations: 6.531 kB / 430.4 MB, free: 41.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001938/0.3637, allocations: 0.9017 MB / 431.3 MB, free: 41.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.3638, allocations: 0 / 431.3 MB, free: 41.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.962e-05/0.3638, allocations: 23.17 kB / 431.3 MB, free: 41.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003129/0.3642, allocations: 179 kB / 431.5 MB, free: 41.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.3642, allocations: 0.5625 kB / 431.5 MB, free: 41.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002649/0.3668, allocations: 1.962 MB / 433.4 MB, free: 40.28 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3669, allocations: 0 / 433.4 MB, free: 40.28 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.3684, allocations: 0.5516 MB / 434 MB, free: 40.1 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.3685, allocations: 137.2 kB / 434.1 MB, free: 39.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.059e-05/0.3686, allocations: 5.031 kB / 434.1 MB, free: 39.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/0.3688, allocations: 29.38 kB / 434.1 MB, free: 39.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.802e-05/0.3689, allocations: 7.891 kB / 434.1 MB, free: 39.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.855e-05/0.3689, allocations: 11.03 kB / 434.2 MB, free: 39.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003112/0.3692, allocations: 266.1 kB / 434.4 MB, free: 39.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3692, allocations: 4 kB / 434.4 MB, free: 39.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004951/0.3697, allocations: 89.03 kB / 434.5 MB, free: 39.88 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 (9): * Single equations (assignments): 8 * 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 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001746/0.3715, allocations: 1.094 MB / 435.6 MB, free: 39.17 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008808/0.3724, allocations: 0.4971 MB / 436.1 MB, free: 38.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3724, allocations: 0 / 436.1 MB, free: 38.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002592/0.3727, allocations: 214 kB / 436.3 MB, free: 38.81 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004985/0.3732, allocations: 76.16 kB / 436.4 MB, free: 38.81 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004274/0.3774, allocations: 2.22 MB / 438.6 MB, free: 38.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.3777, allocations: 0.7861 MB / 439.4 MB, free: 37.36 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001849/0.3779, allocations: 40.62 kB / 439.4 MB, free: 37.35 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.378, allocations: 111.5 kB / 439.5 MB, free: 37.34 MB / 350.1 MB Notification: Performance of SimCode: time 1.402e-06/0.378, allocations: 0 / 439.5 MB, free: 37.34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03432/0.4124, allocations: 8.821 MB / 448.4 MB, free: 36.71 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001839/0.4126, allocations: 193.8 kB / 448.5 MB, free: 36.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.94/2.352, allocations: 0 / 448.5 MB, free: 36.48 MB / 350.1 MB (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleCell_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleCell.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe 2>&1) Environment - environmentSimulation: