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.005668/0.005668, allocations: 102.4 kB / 15.73 MB, free: 6.051 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.001201/0.001201, allocations: 199.4 kB / 16.68 MB, free: 5.969 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.0275/0.0275, allocations: 5.395 MB / 295.9 MB, free: 9.449 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 64.14 kB / 412.3 MB, free: 23.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08762/0.0891, allocations: 50.63 MB / 462.9 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.005707/0.09484, allocations: 4.373 MB / 467.3 MB, free: 36 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00298/0.09785, allocations: 1.589 MB / 468.9 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004728/0.09835, allocations: 8 kB / 468.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009347/0.0993, allocations: 305 kB / 469.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006918/0.1, allocations: 238.3 kB / 469.4 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004578/0.1005, allocations: 211.6 kB / 469.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02238/0.1229, allocations: 25.68 MB / 495.3 MB, free: 3.934 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01262/0.1356, allocations: 7.947 MB / 0.4915 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01141/0.147, allocations: 9.349 MB / 0.5006 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2651/0.4122, allocations: 10.85 MB / 0.5112 GB, free: 20.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01112/0.4233, allocations: 2.705 MB / 0.5138 GB, free: 20.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01276/0.4361, allocations: 2.711 MB / 0.5165 GB, free: 20.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01016/0.4463, allocations: 5.128 MB / 0.5215 GB, free: 19.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01832/0.4647, allocations: 9.529 MB / 0.5308 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03223/0.4969, allocations: 28.93 MB / 0.559 GB, free: 10.61 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.497, allocations: 0.8438 kB / 0.559 GB, free: 10.61 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.497, allocations: 0 / 0.559 GB, free: 10.61 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000939/0.498, allocations: 0.5 kB / 0.559 GB, free: 10.61 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.1159/0.6138, allocations: 31.41 MB / 0.5897 GB, free: 12.51 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.6139, allocations: 8.031 kB / 0.5897 GB, free: 12.5 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006492/0.6204, allocations: 1.13 MB / 0.5908 GB, free: 11.36 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007941/0.6283, allocations: 1.448 MB / 0.5922 GB, free: 9.895 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05631/0.6847, allocations: 18.94 MB / 0.6107 GB, free: 7.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007693/0.6855, allocations: 0.6344 MB / 0.6114 GB, free: 6.613 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004368/0.6899, allocations: 0.8125 MB / 0.6122 GB, free: 5.801 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04176/0.7316, allocations: 15.67 MB / 0.6275 GB, free: 5.664 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003702/0.732, allocations: 26.44 kB / 0.6275 GB, free: 5.652 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004182/0.7362, allocations: 347.9 kB / 0.6278 GB, free: 5.312 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001806/0.7364, allocations: 216 kB / 0.628 GB, free: 5.102 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04108/0.7775, allocations: 17.59 MB / 0.6452 GB, free: 3.609 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3558/1.133, allocations: 57.24 MB / 0.7011 GB, free: 140.1 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03784/1.171, allocations: 21.36 MB / 0.722 GB, free: 133.8 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01126/1.183, allocations: 7.439 MB / 0.7292 GB, free: 131.5 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001827/1.183, allocations: 73.31 kB / 0.7293 GB, free: 131.5 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.798e-05/1.183, allocations: 77.27 kB / 0.7294 GB, free: 131.4 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=448): time 6.632e-06/1.183, allocations: 7.359 kB / 0.7294 GB, free: 131.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=448): time 0.1111/1.294, allocations: 36.3 MB / 0.7648 GB, free: 111.7 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.726e-05/1.294, allocations: 98.92 kB / 0.7649 GB, free: 111.6 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03246/1.326, allocations: 15.18 MB / 0.7798 GB, free: 96.74 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.002136/1.329, allocations: 113.7 kB / 0.7799 GB, free: 96.62 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.005977/1.335, allocations: 6.094 MB / 0.7858 GB, free: 91.65 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002383/1.337, allocations: 1.575 MB / 0.7874 GB, free: 90.11 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004926/1.342, allocations: 2.102 MB / 0.7894 GB, free: 88 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 3.867e-05/1.342, allocations: 301.1 kB / 0.7897 GB, free: 87.7 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01252/1.355, allocations: 7.644 MB / 0.7972 GB, free: 80.04 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01423/1.369, allocations: 8.837 MB / 0.8058 GB, free: 70.88 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02692/1.396, allocations: 14.39 MB / 0.8198 GB, free: 56.15 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.49e-05/1.396, allocations: 8 kB / 0.8199 GB, free: 56.14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.1216/1.517, allocations: 39.95 MB / 0.8589 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.016e-05/1.518, allocations: 16 kB / 0.8589 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.252e-05/1.518, allocations: 24.84 kB / 0.8589 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04931/1.567, allocations: 26.01 MB / 0.8843 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008182/1.575, allocations: 1.498 MB / 0.8858 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6003/2.176, allocations: 202.8 MB / 1.084 GB, free: 21.78 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0196/2.195, allocations: 2.56 MB / 1.086 GB, free: 19.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002868/2.198, allocations: 379.7 kB / 1.087 GB, free: 19.4 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.01111/2.209, allocations: 4.522 MB / 1.091 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00472/2.214, allocations: 1.154 MB / 1.092 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.377/2.591, allocations: 31.8 MB / 1.123 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.992e-05/2.591, allocations: 42.91 kB / 1.123 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/2.591, allocations: 3.844 kB / 1.123 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001049/2.591, allocations: 22.45 kB / 1.123 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1367/2.728, allocations: 46.47 MB / 1.169 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.823e-05/2.728, allocations: 1.438 kB / 1.169 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001888/2.73, allocations: 457 kB / 1.169 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02473/2.755, allocations: 15.46 MB / 1.184 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001664/2.756, allocations: 114.7 kB / 1.184 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3009/3.057, allocations: 114.9 MB / 1.297 GB, free: 41.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/3.057, allocations: 4 kB / 1.297 GB, free: 41.23 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09983/3.157, allocations: 30.88 MB / 1.327 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2719/3.429, allocations: 2.652 MB / 1.329 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00583/3.435, allocations: 76.94 kB / 1.329 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0165/3.451, allocations: 1.396 MB / 1.331 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001404/3.453, allocations: 276.1 kB / 1.331 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00168/3.455, allocations: 143.5 kB / 1.331 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.02737/3.482, allocations: 10.49 MB / 1.341 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.51e-07/3.482, allocations: 0 / 1.341 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01955/3.502, allocations: 3.713 MB / 1.345 GB, free: 159.1 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.09789/3.6, allocations: 31.56 MB / 1.376 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.08411/3.684, allocations: 33.13 MB / 1.408 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/3.684, allocations: 0 / 1.408 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.05795/3.742, allocations: 17.29 MB / 1.425 GB, free: 120.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0255/3.767, allocations: 3.113 MB / 1.428 GB, free: 117 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6781/4.445, allocations: 171 MB / 1.595 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01185/4.457, allocations: 8.689 MB / 1.604 GB, free: 144.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.01131/4.469, allocations: 3.781 MB / 1.607 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009739/4.478, allocations: 4.992 MB / 1.612 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of SimCode: time 9.71e-07/4.478, allocations: 0 / 1.612 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.033/5.511, allocations: 403.5 MB / 2.006 GB, free: 142.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 57.49/63, allocations: 1.125 kB / 2.006 GB, free: 142.5 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)