Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.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.SimpleModule,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModule,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModule",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.005064/0.005064, allocations: 100.3 kB / 15.73 MB, free: 6.008 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.001281/0.001281, allocations: 194.1 kB / 16.67 MB, free: 5.926 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.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02957/0.02957, allocations: 5.397 MB / 295.9 MB, free: 9.449 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002785/0.002785, allocations: 55.91 kB / 412.3 MB, free: 23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09885/0.1016, allocations: 50.62 MB / 462.9 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.006694/0.1084, allocations: 4.393 MB / 467.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003422/0.1118, allocations: 1.582 MB / 468.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006361/0.1125, allocations: 8 kB / 468.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00112/0.1136, allocations: 297 kB / 469.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009544/0.1147, allocations: 238.4 kB / 469.4 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007508/0.1154, allocations: 211.6 kB / 469.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02734/0.1428, allocations: 25.69 MB / 495.3 MB, free: 3.836 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01259/0.1554, allocations: 7.95 MB / 0.4915 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01248/0.1679, allocations: 9.337 MB / 0.5006 GB, free: 2.422 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2273/0.3953, allocations: 10.84 MB / 0.5112 GB, free: 20.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009427/0.4048, allocations: 2.704 MB / 0.5138 GB, free: 20.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01108/0.4159, allocations: 2.713 MB / 0.5165 GB, free: 20.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00944/0.4253, allocations: 5.125 MB / 0.5215 GB, free: 19.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02077/0.4462, allocations: 9.531 MB / 0.5308 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02928/0.4755, allocations: 29 MB / 0.5591 GB, free: 10.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.277e-06/0.4756, allocations: 0.625 kB / 0.5591 GB, free: 10.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4756, allocations: 0 / 0.5591 GB, free: 10.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0008019/0.4764, allocations: 0.5312 kB / 0.5591 GB, free: 10.57 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2129 * Number of variables: 2129 Notification: Performance of Generate backend data structure: time 0.1367/0.613, allocations: 31.83 MB / 0.5902 GB, free: 11.95 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.215e-05/0.6131, allocations: 8.031 kB / 0.5902 GB, free: 11.95 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008313/0.6215, allocations: 1.122 MB / 0.5913 GB, free: 10.81 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009978/0.6315, allocations: 1.529 MB / 0.5928 GB, free: 9.277 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08286/0.7144, allocations: 19.05 MB / 0.6114 GB, free: 6.531 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001148/0.7156, allocations: 0.6256 MB / 0.612 GB, free: 5.902 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006002/0.7216, allocations: 0.8203 MB / 0.6128 GB, free: 5.082 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05481/0.7765, allocations: 15.68 MB / 0.6281 GB, free: 4.941 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002217/0.7767, allocations: 22.81 kB / 0.6281 GB, free: 4.934 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002553/0.7793, allocations: 348 kB / 0.6285 GB, free: 4.594 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002132/0.7795, allocations: 216 kB / 0.6287 GB, free: 4.383 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04454/0.8241, allocations: 17.59 MB / 0.6459 GB, free: 2.895 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.33/1.154, allocations: 57.34 MB / 0.7019 GB, free: 139.4 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03453/1.189, allocations: 21.36 MB / 0.7227 GB, free: 132.9 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01191/1.201, allocations: 7.45 MB / 0.73 GB, free: 130.6 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002303/1.201, allocations: 68.78 kB / 0.7301 GB, free: 130.6 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.556e-05/1.201, allocations: 78.56 kB / 0.7301 GB, free: 130.5 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=448): time 6.212e-06/1.201, allocations: 7.719 kB / 0.7301 GB, free: 130.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=448): time 0.1001/1.301, allocations: 36.36 MB / 0.7657 GB, free: 110.7 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/1.301, allocations: 94.92 kB / 0.7657 GB, free: 110.6 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02582/1.327, allocations: 15.19 MB / 0.7806 GB, free: 95.68 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001592/1.329, allocations: 109.7 kB / 0.7807 GB, free: 95.57 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.005797/1.334, allocations: 6.206 MB / 0.7867 GB, free: 90.53 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002127/1.337, allocations: 1.659 MB / 0.7884 GB, free: 88.94 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004734/1.341, allocations: 2.11 MB / 0.7904 GB, free: 86.81 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 3.523e-05/1.341, allocations: 304.7 kB / 0.7907 GB, free: 86.52 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01274/1.354, allocations: 7.644 MB / 0.7982 GB, free: 78.86 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01455/1.369, allocations: 8.834 MB / 0.8068 GB, free: 69.7 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.027/1.396, allocations: 14.4 MB / 0.8209 GB, free: 54.97 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-05/1.396, allocations: 8.938 kB / 0.8209 GB, free: 54.96 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.1161/1.512, allocations: 40.01 MB / 0.8599 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.23e-05/1.512, allocations: 12 kB / 0.86 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-05/1.512, allocations: 24 kB / 0.86 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05031/1.562, allocations: 26.01 MB / 0.8854 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007623/1.57, allocations: 1.49 MB / 0.8868 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5564/2.126, allocations: 202.9 MB / 1.085 GB, free: 20.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02034/2.147, allocations: 2.588 MB / 1.088 GB, free: 18.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002664/2.149, allocations: 383.7 kB / 1.088 GB, free: 18.39 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 105 * 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 (840): * Single equations (assignments): 791 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 48 * 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): 48 systems {2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 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 {(47,200)} Notification: Performance of prepare postOptimizeDAE: time 0.008789/2.158, allocations: 4.52 MB / 1.092 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00361/2.162, allocations: 1.221 MB / 1.093 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3243/2.486, allocations: 31.8 MB / 1.125 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.534e-05/2.486, allocations: 44.28 kB / 1.125 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/2.486, allocations: 4.5 kB / 1.125 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001033/2.486, allocations: 21.94 kB / 1.125 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1263/2.613, allocations: 46.48 MB / 1.17 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.423e-05/2.613, allocations: 3.609 kB / 1.17 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001874/2.615, allocations: 453.2 kB / 1.17 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02426/2.639, allocations: 15.46 MB / 1.186 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001482/2.641, allocations: 111.4 kB / 1.186 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3015/2.942, allocations: 115 MB / 1.298 GB, free: 39.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/2.942, allocations: 0 / 1.298 GB, free: 39.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08657/3.029, allocations: 30.94 MB / 1.328 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2407/3.269, allocations: 2.713 MB / 1.331 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004814/3.274, allocations: 69.69 kB / 1.331 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01263/3.287, allocations: 1.399 MB / 1.332 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001163/3.288, allocations: 280.7 kB / 1.333 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001206/3.289, allocations: 140.5 kB / 1.333 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.02304/3.312, allocations: 10.49 MB / 1.343 GB, free: 159.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.8e-07/3.312, allocations: 1.875 kB / 1.343 GB, free: 159.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.02087/3.333, allocations: 3.722 MB / 1.347 GB, free: 159.7 MB / 0.5606 GB 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 (250): * Single equations (assignments): 249 * 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 {(48,154)} Notification: Performance of Backend phase and start with SimCode phase: time 0.09552/3.429, allocations: 31.63 MB / 1.377 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.07822/3.507, allocations: 33.18 MB / 1.41 GB, free: 136 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/3.507, allocations: 4.125 kB / 1.41 GB, free: 136 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.05291/3.56, allocations: 17.31 MB / 1.427 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02034/3.58, allocations: 3.111 MB / 1.43 GB, free: 115.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6018/4.182, allocations: 171.4 MB / 1.597 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01002/4.192, allocations: 8.682 MB / 1.606 GB, free: 144 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.01075/4.203, allocations: 3.779 MB / 1.609 GB, free: 143.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008685/4.212, allocations: 5.003 MB / 1.614 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of SimCode: time 8.02e-07/4.212, allocations: 0 / 1.614 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.005/5.217, allocations: 397.1 MB / 2.002 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 53.85/59.07, allocations: 7.969 kB / 2.002 GB, free: 135.4 MB / 0.5606 GB (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleModule_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleModule.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe 2>&1)