Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.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.SimpleModuleSymmetric,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleSymmetric",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleSymmetric,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleSymmetric",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.0009544/0.0009544, allocations: 97.91 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.0009066/0.0009066, allocations: 177.3 kB / 15.94 MB, free: 228 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.307/1.307, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1556/0.1556, allocations: 5.37 MB / 296.3 MB, free: 3.98 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002915/0.0002915, allocations: 11.98 kB / 361.9 MB, free: 14.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09374/0.09406, allocations: 51.6 MB / 413.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleSymmetric): time 0.002782/0.09687, allocations: 2.802 MB / 416.3 MB, free: 7.727 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.09829, allocations: 1.197 MB / 417.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.09842, allocations: 11.88 kB / 417.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003334/0.09876, allocations: 171.1 kB / 417.7 MB, free: 6.348 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002772/0.09905, allocations: 163.5 kB / 417.8 MB, free: 6.188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001301/0.09919, allocations: 79.83 kB / 417.9 MB, free: 6.109 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003609/0.09956, allocations: 351.3 kB / 418.2 MB, free: 5.766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.09973, allocations: 98 kB / 418.3 MB, free: 5.664 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001583/0.0999, allocations: 175.3 kB / 418.5 MB, free: 5.492 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002274/0.1001, allocations: 227.1 kB / 418.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.518e-05/0.1002, allocations: 24 kB / 418.8 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.048e-05/0.1003, allocations: 31.94 kB / 418.8 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.047e-05/0.1003, allocations: 71.7 kB / 418.9 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.835e-05/0.1004, allocations: 97.52 kB / 419 MB, free: 5.043 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003124/0.1007, allocations: 402.9 kB / 419.4 MB, free: 4.648 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.1007, allocations: 0 / 419.4 MB, free: 4.648 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.1008, allocations: 0 / 419.4 MB, free: 4.648 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.1008, allocations: 3.938 kB / 419.4 MB, free: 4.645 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001623/0.1024, allocations: 0.7635 MB / 420.1 MB, free: 3.832 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.1024, allocations: 12.03 kB / 420.1 MB, free: 3.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.822e-05/0.1025, allocations: 62.53 kB / 420.2 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.185e-05/0.1026, allocations: 43.53 kB / 420.2 MB, free: 3.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.1036, allocations: 494.9 kB / 420.7 MB, free: 3.184 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.1036, allocations: 20.56 kB / 420.7 MB, free: 3.164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.866e-05/0.1037, allocations: 24 kB / 420.8 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005588/0.1042, allocations: 325.3 kB / 421.1 MB, free: 2.809 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.1043, allocations: 0 / 421.1 MB, free: 2.809 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.995e-05/0.1043, allocations: 15.95 kB / 421.1 MB, free: 2.793 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.1043, allocations: 8 kB / 421.1 MB, free: 2.785 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006707/0.105, allocations: 302 kB / 421.4 MB, free: 2.488 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002078/0.1071, allocations: 1.4 MB / 422.8 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005999/0.1077, allocations: 315.5 kB / 423.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.1077, allocations: 7.984 kB / 423.1 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.1078, allocations: 38.56 kB / 423.2 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.1078, allocations: 0 / 423.2 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.167/0.2748, allocations: 0.7954 MB / 423.9 MB, free: 45.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.2748, allocations: 53.5 kB / 424 MB, free: 45.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005027/0.2754, allocations: 378.5 kB / 424.4 MB, free: 45.35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.051e-05/0.2754, allocations: 31.55 kB / 424.4 MB, free: 45.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.2755, allocations: 216.3 kB / 424.6 MB, free: 45.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.265e-05/0.2756, allocations: 58.73 kB / 424.7 MB, free: 45.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.643e-05/0.2756, allocations: 4.906 kB / 424.7 MB, free: 45.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.099e-05/0.2757, allocations: 351.3 kB / 425 MB, free: 44.92 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003374/0.276, allocations: 121.8 kB / 425.1 MB, free: 44.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003522/0.2764, allocations: 164.8 kB / 425.3 MB, free: 44.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003437/0.2768, allocations: 131.8 kB / 425.4 MB, free: 44.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.2768, allocations: 3 kB / 425.4 MB, free: 44.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002398/0.2792, allocations: 0.6613 MB / 426.1 MB, free: 44.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.2792, allocations: 3.312 kB / 426.1 MB, free: 44.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.2792, allocations: 3.281 kB / 426.1 MB, free: 44.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008509/0.2801, allocations: 257.8 kB / 426.3 MB, free: 44.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.2803, allocations: 57.78 kB / 426.4 MB, free: 44.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005131/0.2855, allocations: 3.652 MB / 430.1 MB, free: 42.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003556/0.2858, allocations: 46.92 kB / 430.1 MB, free: 42.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.2859, allocations: 9.906 kB / 430.1 MB, free: 42.05 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 (27): * Single equations (assignments): 25 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001599/0.286, allocations: 152.1 kB / 430.3 MB, free: 41.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.182e-05/0.2861, allocations: 35.34 kB / 430.3 MB, free: 41.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.224e-05/0.2861, allocations: 40.59 kB / 430.3 MB, free: 41.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2862, allocations: 7.047 kB / 430.3 MB, free: 41.9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.2862, allocations: 0 / 430.3 MB, free: 41.9 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2862, allocations: 0 / 430.3 MB, free: 41.9 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0023/0.2885, allocations: 0.943 MB / 431.3 MB, free: 41.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.2885, allocations: 0.625 kB / 431.3 MB, free: 41.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.2886, allocations: 25.72 kB / 431.3 MB, free: 41.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003687/0.289, allocations: 184.4 kB / 431.5 MB, free: 41.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.289, allocations: 2.188 kB / 431.5 MB, free: 41.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003483/0.2925, allocations: 2.091 MB / 433.6 MB, free: 40.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2925, allocations: 3.469 kB / 433.6 MB, free: 40.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001976/0.2945, allocations: 0.6014 MB / 434.2 MB, free: 40.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.2946, allocations: 140.5 kB / 434.3 MB, free: 39.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.221e-05/0.2947, allocations: 0 / 434.3 MB, free: 39.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002753/0.2949, allocations: 28.61 kB / 434.4 MB, free: 39.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/0.295, allocations: 13.34 kB / 434.4 MB, free: 39.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.295, allocations: 6.859 kB / 434.4 MB, free: 39.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002571/0.2953, allocations: 266.5 kB / 434.6 MB, free: 39.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2953, allocations: 0 / 434.6 MB, free: 39.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000442/0.2957, allocations: 98.94 kB / 434.7 MB, free: 39.85 MB / 350.1 MB 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 (13): * Single equations (assignments): 12 * 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.002082/0.2978, allocations: 1.143 MB / 435.9 MB, free: 39.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008826/0.2987, allocations: 0.5192 MB / 436.4 MB, free: 38.9 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.2987, allocations: 0 / 436.4 MB, free: 38.9 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003181/0.2991, allocations: 231.1 kB / 436.6 MB, free: 38.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004019/0.2995, allocations: 83.56 kB / 436.7 MB, free: 38.78 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.3009, allocations: 1.477 MB / 438.2 MB, free: 37.69 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001909/0.3011, allocations: 0.7969 MB / 439 MB, free: 36.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001704/0.3013, allocations: 47.22 kB / 439 MB, free: 36.97 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.3014, allocations: 116.3 kB / 439.1 MB, free: 36.96 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3014, allocations: 0 / 439.1 MB, free: 36.96 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01979/0.3212, allocations: 9.041 MB / 448.2 MB, free: 36.32 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/0.3214, allocations: 202.6 kB / 448.4 MB, free: 36.08 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.781/2.103, allocations: 3.875 kB / 448.4 MB, free: 36.08 MB / 350.1 MB (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleSymmetric_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleSymmetric.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe 2>&1) Environment - environmentSimulation: