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.0009952/0.0009952, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001075/0.001075, allocations: 191.6 kB / 16.14 MB, free: 6.707 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.301/1.301, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1436/0.1436, allocations: 5.378 MB / 295.3 MB, free: 2.961 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 59.91 kB / 360.3 MB, free: 14.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09456/0.09577, allocations: 50.62 MB / 410.9 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleSymmetric): time 0.004268/0.1001, allocations: 3.469 MB / 414.3 MB, free: 8.352 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.1017, allocations: 1.254 MB / 415.6 MB, free: 7.094 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001468/0.1019, allocations: 11.94 kB / 415.6 MB, free: 7.082 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004833/0.1024, allocations: 199 kB / 415.8 MB, free: 6.887 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002644/0.1027, allocations: 139.1 kB / 415.9 MB, free: 6.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001753/0.1029, allocations: 103.9 kB / 416 MB, free: 6.648 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004445/0.1033, allocations: 0.5369 MB / 416.6 MB, free: 6.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002004/0.1035, allocations: 122.5 kB / 416.7 MB, free: 5.984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001868/0.1037, allocations: 187.1 kB / 416.9 MB, free: 5.801 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002414/0.104, allocations: 238.9 kB / 417.1 MB, free: 5.566 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.122e-05/0.104, allocations: 28 kB / 417.1 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.759e-05/0.1041, allocations: 31.98 kB / 417.2 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.376e-05/0.1042, allocations: 87.59 kB / 417.3 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001854/0.1044, allocations: 202.9 kB / 417.5 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004252/0.1048, allocations: 0.51 MB / 418 MB, free: 4.711 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1049, allocations: 4 kB / 418 MB, free: 4.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.1049, allocations: 3.938 kB / 418 MB, free: 4.703 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1049, allocations: 0 / 418 MB, free: 4.703 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.001863/0.1067, allocations: 0.8102 MB / 418.8 MB, free: 3.844 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.1068, allocations: 12.03 kB / 418.8 MB, free: 3.832 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.788e-05/0.1069, allocations: 66.72 kB / 418.9 MB, free: 3.758 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.249e-05/0.107, allocations: 44.38 kB / 418.9 MB, free: 3.715 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.108, allocations: 496.1 kB / 419.4 MB, free: 3.191 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.1081, allocations: 24.5 kB / 419.4 MB, free: 3.168 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4e-05/0.1081, allocations: 24 kB / 419.4 MB, free: 3.145 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006057/0.1087, allocations: 317.4 kB / 419.7 MB, free: 2.816 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1088, allocations: 0 / 419.7 MB, free: 2.816 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.105e-05/0.1088, allocations: 15.94 kB / 419.8 MB, free: 2.801 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.11e-05/0.1088, allocations: 4 kB / 419.8 MB, free: 2.797 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006877/0.1095, allocations: 286 kB / 420 MB, free: 2.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002244/0.1118, allocations: 1.338 MB / 421.4 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006242/0.1124, allocations: 299.6 kB / 421.7 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003826/0.1128, allocations: 144.7 kB / 421.8 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.1128, allocations: 0 / 421.8 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.1129, allocations: 38.56 kB / 421.9 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.021e-06/0.1129, allocations: 0 / 421.9 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.1428/0.2557, allocations: 0.7455 MB / 422.6 MB, free: 48.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.2558, allocations: 56.09 kB / 422.7 MB, free: 48.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004719/0.2562, allocations: 386.4 kB / 423 MB, free: 48.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.2563, allocations: 29.2 kB / 423.1 MB, free: 48.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.2564, allocations: 216.3 kB / 423.3 MB, free: 47.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.577e-05/0.2564, allocations: 55.17 kB / 423.3 MB, free: 47.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.2565, allocations: 57.86 kB / 423.4 MB, free: 47.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.27e-05/0.2566, allocations: 346 kB / 423.7 MB, free: 47.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003233/0.2569, allocations: 113.4 kB / 423.8 MB, free: 47.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003541/0.2573, allocations: 150.3 kB / 424 MB, free: 47.6 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005851/0.2579, allocations: 245.3 kB / 424.2 MB, free: 47.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.2579, allocations: 7.953 kB / 424.2 MB, free: 47.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00249/0.2604, allocations: 0.6347 MB / 424.9 MB, free: 47.51 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.2604, allocations: 6.719 kB / 424.9 MB, free: 47.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.2605, allocations: 3.062 kB / 424.9 MB, free: 47.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008427/0.2613, allocations: 250.8 kB / 425.1 MB, free: 47.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.2615, allocations: 57.39 kB / 425.2 MB, free: 47.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005036/0.2666, allocations: 3.586 MB / 428.8 MB, free: 44.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000384/0.267, allocations: 46.2 kB / 428.8 MB, free: 44.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.267, allocations: 6.5 kB / 428.8 MB, free: 44.76 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.0001382/0.2671, allocations: 154.9 kB / 429 MB, free: 44.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.852e-05/0.2672, allocations: 39.2 kB / 429 MB, free: 44.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.155e-05/0.2673, allocations: 33.8 kB / 429 MB, free: 44.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.2673, allocations: 7.594 kB / 429 MB, free: 44.6 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2673, allocations: 3.125 kB / 429 MB, free: 44.6 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.2673, allocations: 1.641 kB / 429 MB, free: 44.6 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002495/0.2698, allocations: 0.933 MB / 430 MB, free: 44.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.2698, allocations: 0.5156 kB / 430 MB, free: 44.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.933e-05/0.2699, allocations: 28.95 kB / 430 MB, free: 44.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003721/0.2703, allocations: 180.5 kB / 430.2 MB, free: 44.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.2703, allocations: 2.812 kB / 430.2 MB, free: 44.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003493/0.2738, allocations: 1.977 MB / 432.2 MB, free: 42.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.2738, allocations: 3.938 kB / 432.2 MB, free: 42.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002028/0.2759, allocations: 0.5712 MB / 432.7 MB, free: 42.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.759e-05/0.276, allocations: 128.1 kB / 432.9 MB, free: 42.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.496e-05/0.276, allocations: 4 kB / 432.9 MB, free: 42.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000273/0.2763, allocations: 23.06 kB / 432.9 MB, free: 42.17 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.085e-05/0.2764, allocations: 13.69 kB / 432.9 MB, free: 42.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.2764, allocations: 6.703 kB / 432.9 MB, free: 42.17 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002226/0.2766, allocations: 272.7 kB / 433.2 MB, free: 42.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2766, allocations: 0 / 433.2 MB, free: 42.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004057/0.277, allocations: 97.81 kB / 433.3 MB, free: 42.01 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.002195/0.2792, allocations: 1.122 MB / 434.4 MB, free: 41.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008756/0.2801, allocations: 0.5019 MB / 434.9 MB, free: 40.92 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2801, allocations: 0 / 434.9 MB, free: 40.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002965/0.2804, allocations: 222.2 kB / 435.1 MB, free: 40.78 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004828/0.2809, allocations: 76.19 kB / 435.2 MB, free: 40.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007304/0.2882, allocations: 3.944 MB / 439.1 MB, free: 38.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001657/0.2884, allocations: 0.7868 MB / 439.9 MB, free: 37.85 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001749/0.2886, allocations: 43.73 kB / 440 MB, free: 37.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.2887, allocations: 114 kB / 440.1 MB, free: 37.75 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2887, allocations: 2.953 kB / 440.1 MB, free: 37.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01928/0.308, allocations: 9.573 MB / 449.6 MB, free: 36.98 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001389/0.3082, allocations: 219.4 kB / 449.9 MB, free: 36.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.968/2.276, allocations: 3.875 kB / 449.9 MB, free: 36.73 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)