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: translateModel(PhotoVoltaics.Examples.SimpleModule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule") translateModel(PhotoVoltaics.Examples.SimpleModule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 105.8 kB / 16.41 MB, free: 6.438 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.001815/0.001816, allocations: 189.5 kB / 17.34 MB, free: 5.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.361/1.361, allocations: 222.9 MB / 241 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.02825/0.02825, allocations: 5.398 MB / 296.6 MB, free: 9.48 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 59.91 kB / 413.5 MB, free: 22.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08716/0.08864, allocations: 50.63 MB / 464.1 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.005587/0.09431, allocations: 4.378 MB / 468.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00268/0.09702, allocations: 1.589 MB / 470.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004361/0.09747, allocations: 11.94 kB / 470.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009717/0.09846, allocations: 305 kB / 470.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007038/0.0992, allocations: 230.4 kB / 470.6 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004966/0.09971, allocations: 211.6 kB / 470.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02207/0.1218, allocations: 25.69 MB / 496.5 MB, free: 3.355 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01188/0.1337, allocations: 7.943 MB / 0.4926 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01222/0.146, allocations: 9.353 MB / 0.5018 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2154/0.3614, allocations: 10.84 MB / 0.5123 GB, free: 21.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009695/0.3711, allocations: 2.704 MB / 0.515 GB, free: 21.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01118/0.3823, allocations: 2.717 MB / 0.5176 GB, free: 21.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009302/0.3917, allocations: 5.119 MB / 0.5226 GB, free: 19.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01673/0.4084, allocations: 9.538 MB / 0.5319 GB, free: 13.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02642/0.4349, allocations: 28.92 MB / 0.5602 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.4349, allocations: 0 / 0.5602 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4349, allocations: 0.75 kB / 0.5602 GB, free: 10.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0007963/0.4357, allocations: 0 / 0.5602 GB, free: 10.75 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.1121/0.5479, allocations: 31.42 MB / 0.5909 GB, free: 12.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.5479, allocations: 8.031 kB / 0.5909 GB, free: 12.24 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007586/0.5555, allocations: 1.452 MB / 0.5923 GB, free: 10.77 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05641/0.6119, allocations: 18.95 MB / 0.6108 GB, free: 8.117 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007751/0.6128, allocations: 0.6256 MB / 0.6114 GB, free: 7.488 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00436/0.6171, allocations: 0.8199 MB / 0.6122 GB, free: 6.672 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04194/0.6591, allocations: 15.68 MB / 0.6275 GB, free: 6.535 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003883/0.6595, allocations: 22.44 kB / 0.6275 GB, free: 6.527 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003384/0.6629, allocations: 348 kB / 0.6279 GB, free: 6.188 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002434/0.6632, allocations: 212 kB / 0.6281 GB, free: 5.98 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04228/0.7055, allocations: 17.6 MB / 0.6453 GB, free: 4.48 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3183/1.024, allocations: 57.23 MB / 0.7012 GB, free: 139.2 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03254/1.056, allocations: 21.38 MB / 0.722 GB, free: 133 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.011/1.067, allocations: 7.44 MB / 0.7293 GB, free: 130.7 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001725/1.068, allocations: 71.59 kB / 0.7294 GB, free: 130.6 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/1.068, allocations: 76.8 kB / 0.7294 GB, free: 130.6 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=448): time 6.332e-06/1.068, allocations: 3.812 kB / 0.7294 GB, free: 130.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=448): time 0.09609/1.164, allocations: 36.3 MB / 0.7649 GB, free: 110.9 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/1.164, allocations: 98.86 kB / 0.765 GB, free: 110.7 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02101/1.185, allocations: 15.19 MB / 0.7798 GB, free: 95.85 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0016/1.186, allocations: 113.4 kB / 0.7799 GB, free: 95.73 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.004476/1.191, allocations: 6.087 MB / 0.7859 GB, free: 90.77 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.00204/1.193, allocations: 1.586 MB / 0.7874 GB, free: 89.23 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004277/1.197, allocations: 2.097 MB / 0.7895 GB, free: 87.11 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 4.278e-05/1.197, allocations: 301.1 kB / 0.7898 GB, free: 86.82 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0124/1.21, allocations: 7.644 MB / 0.7972 GB, free: 79.16 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01331/1.223, allocations: 8.837 MB / 0.8058 GB, free: 70 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0253/1.248, allocations: 14.39 MB / 0.8199 GB, free: 55.27 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.52e-05/1.248, allocations: 8.75 kB / 0.8199 GB, free: 55.26 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.111/1.359, allocations: 39.95 MB / 0.8589 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.807e-05/1.36, allocations: 15.94 kB / 0.8589 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.7e-05/1.36, allocations: 24 kB / 0.859 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04934/1.409, allocations: 26.01 MB / 0.8844 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0075/1.417, allocations: 1.494 MB / 0.8858 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5524/1.969, allocations: 202.8 MB / 1.084 GB, free: 19.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01727/1.986, allocations: 2.558 MB / 1.086 GB, free: 17.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001884/1.988, allocations: 379.7 kB / 1.087 GB, free: 17.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.007536/1.996, allocations: 4.515 MB / 1.091 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002822/1.999, allocations: 1.155 MB / 1.092 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3234/2.322, allocations: 31.8 MB / 1.123 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.081e-05/2.322, allocations: 47.11 kB / 1.123 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/2.322, allocations: 0 / 1.123 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001178/2.322, allocations: 22.86 kB / 1.123 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1415/2.464, allocations: 46.47 MB / 1.169 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.22e-05/2.464, allocations: 0 / 1.169 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001959/2.466, allocations: 453.7 kB / 1.169 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02566/2.491, allocations: 15.46 MB / 1.184 GB, free: 151 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001602/2.493, allocations: 115.1 kB / 1.184 GB, free: 151 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.282/2.775, allocations: 115 MB / 1.297 GB, free: 37.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/2.775, allocations: 0 / 1.297 GB, free: 37.86 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09025/2.865, allocations: 30.88 MB / 1.327 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2455/3.111, allocations: 2.654 MB / 1.329 GB, free: 159 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003694/3.115, allocations: 72.28 kB / 1.33 GB, free: 159 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01179/3.126, allocations: 1.394 MB / 1.331 GB, free: 159 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007827/3.127, allocations: 276.8 kB / 1.331 GB, free: 159 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009574/3.128, allocations: 143.9 kB / 1.331 GB, free: 159 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.02183/3.15, allocations: 10.49 MB / 1.342 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.6e-07/3.15, allocations: 3.469 kB / 1.342 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0152/3.165, allocations: 3.711 MB / 1.345 GB, free: 158.6 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.001062/3.166, allocations: 195.2 kB / 1.345 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.07641/3.243, allocations: 33.12 MB / 1.378 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/3.243, allocations: 3.844 kB / 1.378 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.05313/3.296, allocations: 17.29 MB / 1.395 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0172/3.313, allocations: 3.107 MB / 1.398 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0634/3.377, allocations: 29.69 MB / 1.427 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01033/3.387, allocations: 8.667 MB / 1.435 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002922/3.39, allocations: 0.6673 MB / 1.436 GB, free: 106.5 MB / 0.5606 GB Notification: Performance of SimCode: time 2.054e-06/3.39, allocations: 0 / 1.436 GB, free: 106.5 MB / 0.5606 GB Notification: Performance of Templates: time 3.972/7.362, allocations: 2.017 GB / 3.453 GB, free: 67.33 MB / 0.6075 GB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.makefile (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 & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe 2>&1)