Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.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.SimplePlantSymmetric,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimplePlantSymmetric",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimplePlantSymmetric,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimplePlantSymmetric",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.001197/0.001197, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001192/0.001192, allocations: 194.9 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.232/1.232, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1385/0.1385, allocations: 5.385 MB / 295.5 MB, free: 2.91 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 51.91 kB / 360.4 MB, free: 14.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09333/0.09463, allocations: 50.63 MB / 411.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimplePlantSymmetric): time 0.005494/0.1002, allocations: 3.553 MB / 414.6 MB, free: 8.152 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00243/0.1026, allocations: 1.266 MB / 415.9 MB, free: 6.883 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004917/0.1032, allocations: 8 kB / 415.9 MB, free: 6.875 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008246/0.104, allocations: 202.9 kB / 416.1 MB, free: 6.676 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007198/0.1048, allocations: 147 kB / 416.2 MB, free: 6.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.1051, allocations: 99.84 kB / 416.3 MB, free: 6.434 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008416/0.1059, allocations: 0.6029 MB / 416.9 MB, free: 5.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002864/0.1062, allocations: 132 kB / 417.1 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004199/0.1067, allocations: 223.1 kB / 417.3 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003884/0.1071, allocations: 274.9 kB / 417.6 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001147/0.1072, allocations: 52 kB / 417.6 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000177/0.1074, allocations: 64 kB / 417.7 MB, free: 5.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.1075, allocations: 115.5 kB / 417.8 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002988/0.1078, allocations: 246.8 kB / 418 MB, free: 4.734 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006395/0.1084, allocations: 0.5489 MB / 418.6 MB, free: 4.184 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1085, allocations: 0 / 418.6 MB, free: 4.184 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1085, allocations: 0 / 418.6 MB, free: 4.184 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.591e-05/0.1085, allocations: 0 / 418.6 MB, free: 4.184 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.002289/0.1108, allocations: 0.8375 MB / 419.4 MB, free: 3.297 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.1108, allocations: 11.97 kB / 419.4 MB, free: 3.285 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001042/0.1109, allocations: 62.72 kB / 419.5 MB, free: 3.215 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.1111, allocations: 48.38 kB / 419.5 MB, free: 3.168 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.1124, allocations: 0.5063 MB / 420 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.1124, allocations: 24.5 kB / 420.1 MB, free: 2.598 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.793e-05/0.1125, allocations: 28 kB / 420.1 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007173/0.1132, allocations: 361.3 kB / 420.4 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1132, allocations: 0 / 420.4 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.641e-05/0.1133, allocations: 16 kB / 420.5 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.1133, allocations: 4 kB / 420.5 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009127/0.1142, allocations: 365.9 kB / 420.8 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002278/0.1165, allocations: 1.429 MB / 422.2 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1387/0.2552, allocations: 440.2 kB / 422.7 MB, free: 48.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005114/0.2557, allocations: 159.1 kB / 422.8 MB, free: 48.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.855e-05/0.2558, allocations: 2.844 kB / 422.8 MB, free: 48.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.2558, allocations: 42.94 kB / 422.9 MB, free: 47.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.605e-06/0.2558, allocations: 0 / 422.9 MB, free: 47.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.005692/0.2615, allocations: 1.021 MB / 423.9 MB, free: 47.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.2616, allocations: 54.03 kB / 423.9 MB, free: 47.78 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003722/0.2619, allocations: 391.3 kB / 424.3 MB, free: 47.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.262, allocations: 28.39 kB / 424.4 MB, free: 47.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.2621, allocations: 227.3 kB / 424.6 MB, free: 47.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/0.2622, allocations: 68.92 kB / 424.6 MB, free: 47.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.2623, allocations: 74.89 kB / 424.7 MB, free: 47.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.112e-05/0.2623, allocations: 340.8 kB / 425 MB, free: 47.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003736/0.2627, allocations: 152.5 kB / 425.2 MB, free: 47.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003638/0.2631, allocations: 185.2 kB / 425.4 MB, free: 47.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006773/0.2638, allocations: 306.8 kB / 425.7 MB, free: 47.13 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2638, allocations: 5.125 kB / 425.7 MB, free: 47.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.003885/0.2677, allocations: 0.8287 MB / 426.5 MB, free: 47.03 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.2677, allocations: 5.406 kB / 426.5 MB, free: 47.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.2677, allocations: 2.781 kB / 426.5 MB, free: 47.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.2688, allocations: 338.3 kB / 426.9 MB, free: 47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002274/0.269, allocations: 54.97 kB / 426.9 MB, free: 47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007394/0.2764, allocations: 4.324 MB / 431.2 MB, free: 43.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004172/0.2769, allocations: 54.52 kB / 431.3 MB, free: 43.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.888e-05/0.2769, allocations: 9.891 kB / 431.3 MB, free: 43.63 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 (31): * Single equations (assignments): 29 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001382/0.2771, allocations: 160.4 kB / 431.4 MB, free: 43.49 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.217e-05/0.2771, allocations: 38.95 kB / 431.5 MB, free: 43.47 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.893e-05/0.2772, allocations: 41.34 kB / 431.5 MB, free: 43.44 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.2772, allocations: 3.188 kB / 431.5 MB, free: 43.44 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.2772, allocations: 0 / 431.5 MB, free: 43.44 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.2772, allocations: 0 / 431.5 MB, free: 43.44 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004091/0.2813, allocations: 1.19 MB / 432.7 MB, free: 42.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.2813, allocations: 3.219 kB / 432.7 MB, free: 42.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.2815, allocations: 33.56 kB / 432.8 MB, free: 42.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005692/0.282, allocations: 248.8 kB / 433 MB, free: 42.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/0.2821, allocations: 11.45 kB / 433 MB, free: 42.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005859/0.2879, allocations: 2.563 MB / 435.6 MB, free: 41.08 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.288, allocations: 0 / 435.6 MB, free: 41.08 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00355/0.2915, allocations: 0.7675 MB / 436.3 MB, free: 40.81 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.2916, allocations: 139.6 kB / 436.5 MB, free: 40.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.108e-05/0.2917, allocations: 7.375 kB / 436.5 MB, free: 40.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000334/0.292, allocations: 29.98 kB / 436.5 MB, free: 40.67 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.5e-05/0.2921, allocations: 17.45 kB / 436.5 MB, free: 40.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.2921, allocations: 6.688 kB / 436.5 MB, free: 40.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002237/0.2923, allocations: 277.9 kB / 436.8 MB, free: 40.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2924, allocations: 0 / 436.8 MB, free: 40.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004458/0.2928, allocations: 107.5 kB / 436.9 MB, free: 40.5 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 (18): * Single equations (assignments): 17 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00371/0.2965, allocations: 1.321 MB / 438.2 MB, free: 39.69 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001167/0.2977, allocations: 0.6098 MB / 438.8 MB, free: 39.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.2977, allocations: 3 kB / 438.8 MB, free: 39.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004518/0.2982, allocations: 276.8 kB / 439.1 MB, free: 39.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005099/0.2987, allocations: 83.44 kB / 439.2 MB, free: 39.17 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/0.3096, allocations: 4.518 MB / 443.7 MB, free: 36.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.3099, allocations: 0.7915 MB / 444.5 MB, free: 36.13 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002258/0.3101, allocations: 47.7 kB / 444.6 MB, free: 36.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.3103, allocations: 121.3 kB / 444.7 MB, free: 36.04 MB / 350.1 MB Notification: Performance of SimCode: time 2.144e-06/0.3103, allocations: 0 / 444.7 MB, free: 36.04 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1496/0.4599, allocations: 11.68 MB / 456.4 MB, free: 35.15 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001604/0.4601, allocations: 219.2 kB / 456.6 MB, free: 34.89 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.896/2.356, allocations: 10.67 kB / 456.6 MB, free: 34.89 MB / 350.1 MB (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimplePlantSymmetric_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimplePlantSymmetric.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe 2>&1)