Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 80.81 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 173 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9784/0.9784, allocations: 177.1 MB / 203.8 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo): time 0.01836/0.01836, allocations: 4.229 MB / 264.5 MB, free: 8.805 MB / 250.7 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PhotoVoltaics.Examples.SimpleCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell") translateModel(PhotoVoltaics.Examples.SimpleCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 286.3 MB, free: 2.977 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.168e-05/2.313e-05, allocations: 5.969 kB / 286.3 MB, free: 2.973 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.1106/0.1107, allocations: 3.331 MB / 289.6 MB, free: 23.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.1121, allocations: 1.285 MB / 290.9 MB, free: 23.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001438/0.1123, allocations: 8.188 kB / 290.9 MB, free: 23.31 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003846/0.1127, allocations: 213.3 kB / 291.1 MB, free: 23.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002602/0.1129, allocations: 173.1 kB / 291.3 MB, free: 23.17 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001657/0.1131, allocations: 121.8 kB / 291.4 MB, free: 23.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003875/0.1135, allocations: 0.583 MB / 292 MB, free: 23.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.1136, allocations: 87.23 kB / 292.1 MB, free: 23.01 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002964/0.1139, allocations: 326.7 kB / 292.4 MB, free: 22.92 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.1141, allocations: 177.4 kB / 292.6 MB, free: 22.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.696e-05/0.1142, allocations: 44.06 kB / 292.6 MB, free: 22.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.017e-05/0.1143, allocations: 67.38 kB / 292.7 MB, free: 22.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.167e-05/0.1143, allocations: 95.05 kB / 292.8 MB, free: 22.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.1144, allocations: 145.8 kB / 292.9 MB, free: 22.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003174/0.1147, allocations: 342 kB / 293.3 MB, free: 22.56 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1147, allocations: 0.8438 kB / 293.3 MB, free: 22.56 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1147, allocations: 0 / 293.3 MB, free: 22.56 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1147, allocations: 0 / 293.3 MB, free: 22.56 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0007347/0.1155, allocations: 0.6331 MB / 293.9 MB, free: 22.12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.744e-05/0.1155, allocations: 13.31 kB / 293.9 MB, free: 22.11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.809e-05/0.1156, allocations: 47.16 kB / 294 MB, free: 22.11 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/0.1159, allocations: 291.1 kB / 294.3 MB, free: 21.9 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.1159, allocations: 18.91 kB / 294.3 MB, free: 21.89 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.116, allocations: 25.31 kB / 294.3 MB, free: 21.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.1162, allocations: 256.3 kB / 294.5 MB, free: 21.74 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.1162, allocations: 1.094 kB / 294.5 MB, free: 21.74 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.1162, allocations: 10.84 kB / 294.6 MB, free: 21.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.1162, allocations: 5.781 kB / 294.6 MB, free: 21.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.1163, allocations: 76.81 kB / 294.6 MB, free: 21.72 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008707/0.1172, allocations: 0.8614 MB / 295.5 MB, free: 21.12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.1174, allocations: 95.69 kB / 295.6 MB, free: 21.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.07e-05/0.1175, allocations: 62.77 kB / 295.7 MB, free: 21.06 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.1175, allocations: 2.188 kB / 295.7 MB, free: 21.06 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.61e-05/0.1175, allocations: 42.09 kB / 295.7 MB, free: 21.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.1175, allocations: 0.7188 kB / 295.7 MB, free: 21.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006078/0.1181, allocations: 217.4 kB / 295.9 MB, free: 20.97 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.33e-05/0.1181, allocations: 54.42 kB / 296 MB, free: 20.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.1183, allocations: 329.1 kB / 296.3 MB, free: 20.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.1183, allocations: 34.83 kB / 296.3 MB, free: 20.7 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.305e-05/0.1184, allocations: 187.3 kB / 296.5 MB, free: 20.54 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.1184, allocations: 40.28 kB / 296.5 MB, free: 20.51 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.358e-05/0.1185, allocations: 55.61 kB / 296.6 MB, free: 20.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.309e-05/0.1185, allocations: 345 kB / 296.9 MB, free: 20.15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.696e-05/0.1186, allocations: 33.22 kB / 297 MB, free: 20.14 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.971e-05/0.1186, allocations: 71.25 kB / 297 MB, free: 20.11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.1187, allocations: 98.83 kB / 297.1 MB, free: 20.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1187, allocations: 5.188 kB / 297.1 MB, free: 20.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003861/0.1191, allocations: 238.4 kB / 297.4 MB, free: 20 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.1191, allocations: 6.156 kB / 297.4 MB, free: 20 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1191, allocations: 1.219 kB / 297.4 MB, free: 20 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003433/0.1195, allocations: 184.1 kB / 297.6 MB, free: 19.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.234e-05/0.1196, allocations: 42.44 kB / 297.6 MB, free: 19.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007427/0.1203, allocations: 1.891 MB / 299.5 MB, free: 18.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.1204, allocations: 31.95 kB / 299.5 MB, free: 18.13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.1204, allocations: 9.625 kB / 299.5 MB, free: 18.12 MB / 266.7 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 (22): * Single equations (assignments): 20 * 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 7.066e-05/0.1205, allocations: 122.3 kB / 299.6 MB, free: 18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.77e-05/0.1206, allocations: 24.31 kB / 299.7 MB, free: 18 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.739e-05/0.1206, allocations: 35.33 kB / 299.7 MB, free: 17.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1206, allocations: 5.609 kB / 299.7 MB, free: 17.97 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.1206, allocations: 0 / 299.7 MB, free: 17.97 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1206, allocations: 2.016 kB / 299.7 MB, free: 17.97 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003787/0.121, allocations: 366.7 kB / 300.1 MB, free: 17.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.121, allocations: 5.281 kB / 300.1 MB, free: 17.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.63e-05/0.121, allocations: 17.17 kB / 300.1 MB, free: 17.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001433/0.1212, allocations: 113 kB / 300.2 MB, free: 17.69 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.1212, allocations: 0.8906 kB / 300.2 MB, free: 17.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001418/0.1213, allocations: 0.5496 MB / 300.8 MB, free: 17.16 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1213, allocations: 1.031 kB / 300.8 MB, free: 17.16 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.1215, allocations: 209.2 kB / 301 MB, free: 17 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.973e-05/0.1215, allocations: 41.08 kB / 301 MB, free: 16.97 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.1215, allocations: 2.812 kB / 301 MB, free: 16.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.628e-05/0.1216, allocations: 15.67 kB / 301 MB, free: 16.97 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.511e-05/0.1217, allocations: 10.38 kB / 301 MB, free: 16.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.1217, allocations: 2.984 kB / 301 MB, free: 16.96 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001156/0.1218, allocations: 136.1 kB / 301.2 MB, free: 16.93 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1218, allocations: 1.25 kB / 301.2 MB, free: 16.93 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002111/0.122, allocations: 86.34 kB / 301.3 MB, free: 16.91 MB / 266.7 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 (9): * Single equations (assignments): 8 * 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 8.962e-05/0.1221, allocations: 84.72 kB / 301.3 MB, free: 16.84 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003061/0.1224, allocations: 271 kB / 301.6 MB, free: 16.68 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.1224, allocations: 4.406 kB / 301.6 MB, free: 16.68 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.598e-05/0.1225, allocations: 38.77 kB / 301.6 MB, free: 16.67 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.1227, allocations: 79.48 kB / 301.7 MB, free: 16.64 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007125/0.1234, allocations: 0.5439 MB / 302.3 MB, free: 16.29 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.71e-05/0.1235, allocations: 88.48 kB / 302.3 MB, free: 16.21 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.053e-05/0.1235, allocations: 28.75 kB / 302.4 MB, free: 16.21 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.1236, allocations: 112.3 kB / 302.5 MB, free: 16.16 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.1236, allocations: 0 / 302.5 MB, free: 16.16 MB / 266.7 MB Notification: Performance of Templates: time 0.006554/0.1302, allocations: 5.091 MB / 307.6 MB, free: 13.9 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.makefile [Timeout 660] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=240 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8426910238340497]