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.0009781/0.0009779, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0009673/0.0009673, allocations: 168.7 kB / 15.95 MB, free: 200 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.372/1.372, allocations: 223.2 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1638/0.1638, allocations: 5.378 MB / 296.5 MB, free: 3.953 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003652/0.0003655, allocations: 8 kB / 362 MB, free: 14.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1083, allocations: 51.6 MB / 413.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.003459/0.1118, allocations: 2.825 MB / 416.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001989/0.1138, allocations: 1.146 MB / 417.6 MB, free: 6.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000321/0.1141, allocations: 4 kB / 417.6 MB, free: 6.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006087/0.1148, allocations: 187 kB / 417.8 MB, free: 6.336 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004465/0.1152, allocations: 119.2 kB / 417.9 MB, free: 6.219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002107/0.1155, allocations: 67.91 kB / 417.9 MB, free: 6.152 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005905/0.1161, allocations: 466.1 kB / 418.4 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002262/0.1163, allocations: 93.92 kB / 418.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003036/0.1166, allocations: 159.3 kB / 418.6 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003283/0.1169, allocations: 203.2 kB / 418.8 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.906e-05/0.117, allocations: 20 kB / 418.9 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.1172, allocations: 24 kB / 418.9 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.505e-05/0.1172, allocations: 75.64 kB / 419 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.1174, allocations: 93.52 kB / 419.1 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003809/0.1177, allocations: 367 kB / 419.4 MB, free: 4.672 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1178, allocations: 4 kB / 419.4 MB, free: 4.668 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1178, allocations: 0 / 419.4 MB, free: 4.668 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.1178, allocations: 0 / 419.4 MB, free: 4.668 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.001869/0.1197, allocations: 0.74 MB / 420.2 MB, free: 3.879 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.1197, allocations: 8.031 kB / 420.2 MB, free: 3.871 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.68e-05/0.1198, allocations: 58.48 kB / 420.2 MB, free: 3.805 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.1199, allocations: 39.53 kB / 420.3 MB, free: 3.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.1209, allocations: 450.9 kB / 420.7 MB, free: 3.285 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.121, allocations: 16.44 kB / 420.7 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.999e-05/0.121, allocations: 20 kB / 420.7 MB, free: 3.246 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005684/0.1216, allocations: 291.3 kB / 421 MB, free: 2.941 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.1216, allocations: 4 kB / 421 MB, free: 2.938 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.771e-05/0.1217, allocations: 11.95 kB / 421 MB, free: 2.926 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.1217, allocations: 4 kB / 421 MB, free: 2.922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005706/0.1223, allocations: 260.9 kB / 421.3 MB, free: 2.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002118/0.1244, allocations: 1.281 MB / 422.6 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003552/0.1248, allocations: 158.5 kB / 422.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002689/0.125, allocations: 112.8 kB / 422.8 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.1251, allocations: 16.12 kB / 422.9 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.1251, allocations: 38.52 kB / 422.9 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.1251, allocations: 0 / 422.9 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007451/0.1259, allocations: 281.1 kB / 423.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.1259, allocations: 55.41 kB / 423.2 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004194/0.1263, allocations: 369.5 kB / 423.6 MB, free: 252 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.1264, allocations: 25.7 kB / 423.6 MB, free: 220 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2333/0.3597, allocations: 217.7 kB / 423.8 MB, free: 45.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.012e-05/0.3598, allocations: 23.03 kB / 423.8 MB, free: 45.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.3598, allocations: 6.219 kB / 423.9 MB, free: 45.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.36, allocations: 341 kB / 424.2 MB, free: 45.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003105/0.3603, allocations: 106.5 kB / 424.3 MB, free: 45.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/0.3605, allocations: 141.8 kB / 424.4 MB, free: 45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002741/0.3608, allocations: 109.3 kB / 424.5 MB, free: 45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.3608, allocations: 5.703 kB / 424.5 MB, free: 45 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001026/0.3619, allocations: 372.9 kB / 424.9 MB, free: 44.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.3619, allocations: 5.094 kB / 424.9 MB, free: 44.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.3619, allocations: 2.562 kB / 424.9 MB, free: 44.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004629/0.3624, allocations: 78.84 kB / 425 MB, free: 44.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003481/0.3627, allocations: 61.92 kB / 425 MB, free: 44.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001213/0.364, allocations: 1.454 MB / 426.5 MB, free: 43.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003685/0.3644, allocations: 48.19 kB / 426.5 MB, free: 43.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.3644, allocations: 8.938 kB / 426.6 MB, free: 43.61 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0001679/0.3646, allocations: 144.1 kB / 426.7 MB, free: 43.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.585e-05/0.3646, allocations: 31.72 kB / 426.7 MB, free: 43.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.057e-05/0.3647, allocations: 35.62 kB / 426.8 MB, free: 43.49 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.3647, allocations: 4.609 kB / 426.8 MB, free: 43.49 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.3647, allocations: 0.5156 kB / 426.8 MB, free: 43.49 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3647, allocations: 3.766 kB / 426.8 MB, free: 43.49 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008279/0.3655, allocations: 0.6129 MB / 427.4 MB, free: 43.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.3656, allocations: 0 / 427.4 MB, free: 43.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.3657, allocations: 40.22 kB / 427.4 MB, free: 43.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3657, allocations: 3.75 kB / 427.4 MB, free: 43.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.3658, allocations: 0.9844 kB / 427.4 MB, free: 43.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.3658, allocations: 6.516 kB / 427.4 MB, free: 43.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.3658, allocations: 5.562 kB / 427.4 MB, free: 43.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004231/0.3662, allocations: 309.9 kB / 427.7 MB, free: 43.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.227e-05/0.3663, allocations: 126.3 kB / 427.9 MB, free: 42.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.963e-05/0.3664, allocations: 7.797 kB / 427.9 MB, free: 42.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/0.3666, allocations: 19.86 kB / 427.9 MB, free: 42.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.3667, allocations: 6.656 kB / 427.9 MB, free: 42.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.3667, allocations: 10.06 kB / 427.9 MB, free: 42.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002342/0.3669, allocations: 256 kB / 428.2 MB, free: 42.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3669, allocations: 0 / 428.2 MB, free: 42.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003419/0.3673, allocations: 67.81 kB / 428.2 MB, free: 42.84 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006008/0.3679, allocations: 0.8557 MB / 429.1 MB, free: 42.15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006632/0.3685, allocations: 351.3 kB / 429.4 MB, free: 42.04 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3686, allocations: 4.188 kB / 429.4 MB, free: 42.03 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001787/0.3687, allocations: 85.09 kB / 429.5 MB, free: 42.03 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005167/0.3693, allocations: 69.77 kB / 429.6 MB, free: 42.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002989/0.3723, allocations: 1.874 MB / 431.5 MB, free: 41.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.3725, allocations: 0.7732 MB / 432.2 MB, free: 40.62 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002006/0.3727, allocations: 40.83 kB / 432.3 MB, free: 40.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/0.3729, allocations: 104.6 kB / 432.4 MB, free: 40.6 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3729, allocations: 0 / 432.4 MB, free: 40.6 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01804/0.3909, allocations: 6.325 MB / 438.7 MB, free: 40.16 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001599/0.3911, allocations: 209.4 kB / 438.9 MB, free: 39.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.855/2.246, allocations: 0 / 438.9 MB, free: 39.93 MB / 350.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/linux/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) Environment - environmentSimulation: