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.001207/0.001206, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001208/0.001208, allocations: 188 kB / 16.25 MB, free: 6.625 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.233/1.233, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1187/0.1187, allocations: 5.392 MB / 295.5 MB, free: 2.949 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 63.91 kB / 360.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07835/0.07948, allocations: 50.62 MB / 411.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleSymmetric): time 0.003988/0.0835, allocations: 3.462 MB / 414.5 MB, free: 8.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001457/0.08497, allocations: 1.262 MB / 415.8 MB, free: 6.965 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.08511, allocations: 4 kB / 415.8 MB, free: 6.961 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004574/0.08558, allocations: 199 kB / 416 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002769/0.08587, allocations: 139.1 kB / 416.1 MB, free: 6.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000157/0.08603, allocations: 103.9 kB / 416.2 MB, free: 6.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004502/0.08649, allocations: 0.5721 MB / 416.8 MB, free: 5.953 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002023/0.0867, allocations: 136 kB / 416.9 MB, free: 5.812 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000202/0.08691, allocations: 215.1 kB / 417.1 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002414/0.08716, allocations: 251 kB / 417.4 MB, free: 5.355 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.079e-05/0.08723, allocations: 55.94 kB / 417.4 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.652e-05/0.08733, allocations: 67.98 kB / 417.5 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.129e-05/0.08742, allocations: 107.6 kB / 417.6 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001737/0.08759, allocations: 230.8 kB / 417.8 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004206/0.08802, allocations: 0.5412 MB / 418.4 MB, free: 4.359 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.08803, allocations: 0 / 418.4 MB, free: 4.359 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.08804, allocations: 0 / 418.4 MB, free: 4.359 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.08805, allocations: 0 / 418.4 MB, free: 4.359 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.001752/0.08981, allocations: 0.8154 MB / 419.2 MB, free: 3.496 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.08985, allocations: 16.03 kB / 419.2 MB, free: 3.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.759e-05/0.08992, allocations: 62.72 kB / 419.3 MB, free: 3.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.819e-05/0.09, allocations: 44.38 kB / 419.3 MB, free: 3.367 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.09105, allocations: 496.1 kB / 419.8 MB, free: 2.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.09108, allocations: 24.5 kB / 419.8 MB, free: 2.816 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.56e-05/0.09112, allocations: 24 kB / 419.9 MB, free: 2.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005781/0.0917, allocations: 325.3 kB / 420.2 MB, free: 2.457 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.09172, allocations: 0 / 420.2 MB, free: 2.457 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.921e-05/0.09175, allocations: 12 kB / 420.2 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.09177, allocations: 8 kB / 420.2 MB, free: 2.438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006678/0.09244, allocations: 286 kB / 420.5 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00209/0.09454, allocations: 1.327 MB / 421.8 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005942/0.09514, allocations: 310.2 kB / 422.1 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003633/0.09552, allocations: 140.8 kB / 422.2 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.09555, allocations: 4 kB / 422.2 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.09558, allocations: 34.56 kB / 422.3 MB, free: 244 kB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.202e-06/0.09558, allocations: 0 / 422.3 MB, free: 244 kB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.1367/0.2323, allocations: 0.7462 MB / 423 MB, free: 48.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/0.2324, allocations: 57.34 kB / 423.1 MB, free: 48.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004026/0.2328, allocations: 386.2 kB / 423.5 MB, free: 48.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.2328, allocations: 30.42 kB / 423.5 MB, free: 48.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.2329, allocations: 216 kB / 423.7 MB, free: 47.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.463e-05/0.233, allocations: 52.02 kB / 423.7 MB, free: 47.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.2331, allocations: 64.78 kB / 423.8 MB, free: 47.94 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.776e-05/0.2332, allocations: 348 kB / 424.1 MB, free: 47.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000277/0.2334, allocations: 113.9 kB / 424.3 MB, free: 47.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002798/0.2337, allocations: 150.9 kB / 424.4 MB, free: 47.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005159/0.2342, allocations: 247.7 kB / 424.6 MB, free: 47.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2343, allocations: 1.344 kB / 424.6 MB, free: 47.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002422/0.2367, allocations: 0.6201 MB / 425.3 MB, free: 47.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.2367, allocations: 10.92 kB / 425.3 MB, free: 47.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.2367, allocations: 2.062 kB / 425.3 MB, free: 47.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008486/0.2376, allocations: 268.8 kB / 425.5 MB, free: 47.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.2378, allocations: 47.03 kB / 425.6 MB, free: 47.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005286/0.2431, allocations: 3.911 MB / 429.5 MB, free: 44.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003563/0.2435, allocations: 53.91 kB / 429.6 MB, free: 44.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.2435, allocations: 6.312 kB / 429.6 MB, free: 44.41 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001336/0.2436, allocations: 149.8 kB / 429.7 MB, free: 44.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.966e-05/0.2437, allocations: 43.14 kB / 429.7 MB, free: 44.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.996e-05/0.2438, allocations: 31.62 kB / 429.8 MB, free: 44.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.2438, allocations: 6.844 kB / 429.8 MB, free: 44.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.2438, allocations: 0 / 429.8 MB, free: 44.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.2438, allocations: 0 / 429.8 MB, free: 44.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002468/0.2463, allocations: 0.9409 MB / 430.7 MB, free: 43.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.676e-06/0.2463, allocations: 8.422 kB / 430.7 MB, free: 43.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.84e-05/0.2464, allocations: 23.2 kB / 430.8 MB, free: 43.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003646/0.2467, allocations: 178.7 kB / 430.9 MB, free: 43.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.2468, allocations: 7.25 kB / 430.9 MB, free: 43.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003596/0.2504, allocations: 2.128 MB / 433.1 MB, free: 42.05 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.2504, allocations: 0 / 433.1 MB, free: 42.05 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001923/0.2523, allocations: 0.5805 MB / 433.6 MB, free: 41.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.503e-05/0.2524, allocations: 121.3 kB / 433.8 MB, free: 41.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.444e-05/0.2525, allocations: 10.58 kB / 433.8 MB, free: 41.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002689/0.2527, allocations: 24.23 kB / 433.8 MB, free: 41.67 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/0.2528, allocations: 13.14 kB / 433.8 MB, free: 41.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.2528, allocations: 12.84 kB / 433.8 MB, free: 41.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002/0.253, allocations: 268 kB / 434.1 MB, free: 41.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.253, allocations: 0 / 434.1 MB, free: 41.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003996/0.2534, allocations: 92.19 kB / 434.2 MB, free: 41.51 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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002125/0.2556, allocations: 1.122 MB / 435.3 MB, free: 40.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008691/0.2564, allocations: 0.517 MB / 435.8 MB, free: 40.42 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2564, allocations: 0 / 435.8 MB, free: 40.42 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002963/0.2567, allocations: 223.3 kB / 436 MB, free: 40.28 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004603/0.2572, allocations: 76.09 kB / 436.1 MB, free: 40.26 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007124/0.2644, allocations: 3.957 MB / 440.1 MB, free: 38.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001634/0.2645, allocations: 0.7851 MB / 440.9 MB, free: 37.35 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001774/0.2647, allocations: 38.64 kB / 440.9 MB, free: 37.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.2648, allocations: 123.6 kB / 441 MB, free: 37.25 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2648, allocations: 0 / 441 MB, free: 37.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02203/0.2869, allocations: 9.921 MB / 450.9 MB, free: 36.48 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000142/0.2871, allocations: 218.8 kB / 451.1 MB, free: 36.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.864/2.151, allocations: 0 / 451.1 MB, free: 36.23 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/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)