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.0009013/0.0009012, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006762/0.006762, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.266/1.266, allocations: 223.2 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1277/0.1277, allocations: 5.379 MB / 296.8 MB, free: 3.848 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002813/0.0002813, allocations: 12 kB / 362.7 MB, free: 13.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08334/0.08364, allocations: 51.6 MB / 414.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleSymmetric): time 0.003151/0.08683, allocations: 3.1 MB / 417.4 MB, free: 6.926 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.08842, allocations: 1.246 MB / 418.6 MB, free: 5.676 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.08858, allocations: 4 kB / 418.6 MB, free: 5.672 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004734/0.08906, allocations: 203 kB / 418.8 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002832/0.08935, allocations: 135.1 kB / 419 MB, free: 5.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001557/0.08952, allocations: 107.9 kB / 419.1 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000455/0.08998, allocations: 0.5447 MB / 419.6 MB, free: 4.688 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001945/0.09018, allocations: 112 kB / 419.7 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001846/0.09037, allocations: 183.1 kB / 419.9 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002401/0.09062, allocations: 215 kB / 420.1 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.507e-05/0.09067, allocations: 24 kB / 420.1 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.63e-05/0.09077, allocations: 35.98 kB / 420.2 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.573e-05/0.09084, allocations: 83.58 kB / 420.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001732/0.09102, allocations: 224.5 kB / 420.5 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004014/0.09142, allocations: 0.4903 MB / 421 MB, free: 3.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.336e-05/0.09145, allocations: 0 / 421 MB, free: 3.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.09145, allocations: 0 / 421 MB, free: 3.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.09147, allocations: 4 kB / 421 MB, free: 3.316 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.001621/0.09309, allocations: 0.7714 MB / 421.7 MB, free: 2.496 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.09314, allocations: 12.02 kB / 421.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.34e-05/0.09321, allocations: 54.73 kB / 421.8 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.77e-05/0.09329, allocations: 44.38 kB / 421.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.09434, allocations: 0.5001 MB / 422.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.09437, allocations: 24.5 kB / 422.4 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.23e-05/0.09442, allocations: 24 kB / 422.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006132/0.09504, allocations: 329.3 kB / 422.7 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.09506, allocations: 0 / 422.7 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.129e-05/0.0951, allocations: 12 kB / 422.7 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.09511, allocations: 4 kB / 422.7 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007013/0.09582, allocations: 306 kB / 423 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1414/0.2372, allocations: 1.345 MB / 424.4 MB, free: 44.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006106/0.2379, allocations: 317.7 kB / 424.7 MB, free: 44.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003575/0.2382, allocations: 152.4 kB / 424.8 MB, free: 44.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.2383, allocations: 5.188 kB / 424.8 MB, free: 44.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.357e-05/0.2383, allocations: 31.22 kB / 424.9 MB, free: 44.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.673e-06/0.2383, allocations: 6.281 kB / 424.9 MB, free: 44.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.003323/0.2416, allocations: 0.8132 MB / 425.7 MB, free: 44.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/0.2416, allocations: 59.22 kB / 425.8 MB, free: 43.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003184/0.242, allocations: 385.7 kB / 426.1 MB, free: 43.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.242, allocations: 29.14 kB / 426.2 MB, free: 43.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.559e-05/0.2421, allocations: 220.9 kB / 426.4 MB, free: 43.74 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.2421, allocations: 46.8 kB / 426.4 MB, free: 43.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.911e-05/0.2422, allocations: 29.64 kB / 426.5 MB, free: 43.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.174e-05/0.2422, allocations: 347.5 kB / 426.8 MB, free: 43.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002807/0.2425, allocations: 121.1 kB / 426.9 MB, free: 43.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002924/0.2428, allocations: 167.3 kB / 427.1 MB, free: 43.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005301/0.2434, allocations: 266.5 kB / 427.3 MB, free: 43.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.2434, allocations: 0 / 427.3 MB, free: 43.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002393/0.2458, allocations: 0.6686 MB / 428 MB, free: 43.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.2458, allocations: 10.66 kB / 428 MB, free: 43.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.2458, allocations: 0 / 428 MB, free: 43.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008808/0.2467, allocations: 263.6 kB / 428.3 MB, free: 43.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.2469, allocations: 49.05 kB / 428.3 MB, free: 43.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004943/0.2519, allocations: 3.64 MB / 432 MB, free: 40.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003813/0.2523, allocations: 54.44 kB / 432 MB, free: 40.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/0.2523, allocations: 15.78 kB / 432 MB, free: 40.43 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.0001522/0.2525, allocations: 147.2 kB / 432.2 MB, free: 40.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.333e-05/0.2525, allocations: 35.47 kB / 432.2 MB, free: 40.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.603e-05/0.2526, allocations: 42.47 kB / 432.2 MB, free: 40.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.2526, allocations: 3.281 kB / 432.2 MB, free: 40.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.2526, allocations: 4 kB / 432.3 MB, free: 40.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2526, allocations: 3.422 kB / 432.3 MB, free: 40.28 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0024/0.255, allocations: 0.9739 MB / 433.2 MB, free: 39.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.255, allocations: 3.125 kB / 433.2 MB, free: 39.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.2552, allocations: 29.59 kB / 433.3 MB, free: 39.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003858/0.2556, allocations: 181.3 kB / 433.4 MB, free: 39.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.2556, allocations: 7.656 kB / 433.4 MB, free: 39.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003422/0.259, allocations: 2.036 MB / 435.5 MB, free: 38.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.259, allocations: 3.344 kB / 435.5 MB, free: 38.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001988/0.261, allocations: 0.612 MB / 436.1 MB, free: 38.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.833e-05/0.2611, allocations: 126 kB / 436.2 MB, free: 38.31 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.103e-05/0.2612, allocations: 6.688 kB / 436.2 MB, free: 38.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002742/0.2615, allocations: 30 kB / 436.3 MB, free: 38.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/0.2615, allocations: 13.28 kB / 436.3 MB, free: 38.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.2615, allocations: 3.219 kB / 436.3 MB, free: 38.3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002261/0.2618, allocations: 270 kB / 436.5 MB, free: 38.22 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2618, allocations: 0 / 436.5 MB, free: 38.22 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004448/0.2622, allocations: 99.31 kB / 436.6 MB, free: 38.21 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.002156/0.2644, allocations: 1.156 MB / 437.8 MB, free: 37.49 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009346/0.2653, allocations: 0.5255 MB / 438.3 MB, free: 37.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.2653, allocations: 4.062 kB / 438.3 MB, free: 37.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003099/0.2657, allocations: 228.1 kB / 438.5 MB, free: 37.13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005088/0.2662, allocations: 73.55 kB / 438.6 MB, free: 37.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007324/0.2735, allocations: 4.069 MB / 442.7 MB, free: 35.39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001667/0.2737, allocations: 0.7808 MB / 443.5 MB, free: 34.69 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002007/0.2739, allocations: 45.92 kB / 443.5 MB, free: 34.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.2741, allocations: 118.5 kB / 443.6 MB, free: 34.63 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2741, allocations: 0 / 443.6 MB, free: 34.63 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01927/0.2933, allocations: 9.454 MB / 453.1 MB, free: 33.95 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001679/0.2935, allocations: 219.5 kB / 453.3 MB, free: 33.69 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.797/2.09, allocations: 0 / 453.3 MB, free: 33.69 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)