Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02761/0.02761, allocations: 5.398 MB / 22.37 MB, free: 0.7148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 113 kB / 26.38 MB, free: 4.547 MB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001388, allocations: 190 kB / 30.51 MB, free: 480 kB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 257.4 MB, free: 14.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009106/0.009105, allocations: 2.322 MB / 313.1 MB, free: 3.301 MB / 238.1 MB " [Timeout remaining time 180] Using package PhotoVoltaics_TGM with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 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) Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo) Running command: translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002626/0.002626, allocations: 100.3 kB / 431.1 MB, free: 2.262 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1967, allocations: 51.2 MB / 482.3 MB, free: 23.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704): time 0.006226/0.203, allocations: 6.905 MB / 489.2 MB, free: 17.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004823/0.2078, allocations: 4.015 MB / 493.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006215/0.2085, allocations: 22.31 kB / 493.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002207/0.2107, allocations: 1.167 MB / 494.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001539/0.2122, allocations: 0.8743 MB / 495.2 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001499/0.2137, allocations: 0.6264 MB / 495.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001167/0.2149, allocations: 1.418 MB / 497.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001082/0.216, allocations: 1.002 MB / 498.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005609/0.2166, allocations: 0.5697 MB / 498.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006626/0.2173, allocations: 0.6806 MB / 499.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001692/0.2174, allocations: 143.1 kB / 499.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007385/0.2182, allocations: 436.8 kB / 0.4884 GB, free: 10.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001741/0.2184, allocations: 297.7 kB / 0.4887 GB, free: 9.809 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000421/0.2188, allocations: 0.6257 MB / 0.4893 GB, free: 9.344 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001617/0.2204, allocations: 1.776 MB / 0.491 GB, free: 8.023 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2204, allocations: 3.984 kB / 0.491 GB, free: 8.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2204, allocations: 0 / 0.491 GB, free: 8.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.2205, allocations: 1.844 kB / 0.491 GB, free: 8.02 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.003409/0.2239, allocations: 1.833 MB / 0.4928 GB, free: 6.621 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.2239, allocations: 11.97 kB / 0.4928 GB, free: 6.609 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001918/0.2258, allocations: 379.8 kB / 0.4932 GB, free: 6.238 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.2273, allocations: 0.8249 MB / 0.494 GB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.525e-05/0.2273, allocations: 74 kB / 0.4941 GB, free: 5.297 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.2274, allocations: 104 kB / 0.4942 GB, free: 5.195 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/0.229, allocations: 1.126 MB / 0.4953 GB, free: 4.012 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/0.229, allocations: 7.984 kB / 0.4953 GB, free: 4.004 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.282e-05/0.2291, allocations: 48 kB / 0.4953 GB, free: 3.957 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.2291, allocations: 24 kB / 0.4953 GB, free: 3.934 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001529/0.2306, allocations: 0.9524 MB / 0.4963 GB, free: 2.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004997/0.2356, allocations: 4.303 MB / 0.5005 GB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002697/0.2384, allocations: 1.676 MB / 0.5021 GB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006571/0.239, allocations: 317.2 kB / 0.5024 GB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.914e-05/0.2391, allocations: 93.53 kB / 0.5025 GB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008566/0.24, allocations: 458.6 kB / 0.5029 GB, free: 11.67 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 2.565e-06/0.24, allocations: 4 kB / 0.5029 GB, free: 11.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.005633/0.2457, allocations: 1.553 MB / 0.5045 GB, free: 10.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001612/0.2459, allocations: 277.6 kB / 0.5047 GB, free: 9.738 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008812/0.2467, allocations: 0.6605 MB / 0.5054 GB, free: 9.066 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.393e-05/0.2468, allocations: 41.7 kB / 0.5054 GB, free: 9.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004206/0.2472, allocations: 0.5312 MB / 0.5059 GB, free: 8.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/0.2474, allocations: 222.2 kB / 0.5061 GB, free: 8.262 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002819/0.2477, allocations: 182.5 kB / 0.5063 GB, free: 8.074 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002164/0.2479, allocations: 394.7 kB / 0.5067 GB, free: 7.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006352/0.2486, allocations: 281.8 kB / 0.5069 GB, free: 7.406 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008422/0.2494, allocations: 0.5441 MB / 0.5075 GB, free: 6.754 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/0.2509, allocations: 0.914 MB / 0.5084 GB, free: 5.715 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/0.251, allocations: 11.81 kB / 0.5084 GB, free: 5.703 MB / 366.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002193/0.2531, allocations: 1.075 MB / 0.5094 GB, free: 4.605 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.293e-05/0.2532, allocations: 67.39 kB / 0.5095 GB, free: 4.527 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.2532, allocations: 8 kB / 0.5095 GB, free: 4.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004434/0.2537, allocations: 84.78 kB / 0.5096 GB, free: 4.434 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008229/0.2545, allocations: 219.9 kB / 0.5098 GB, free: 4.219 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00162/0.2562, allocations: 1.574 MB / 0.5113 GB, free: 2.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007575/0.2569, allocations: 119.4 kB / 0.5114 GB, free: 2.383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.395e-05/0.257, allocations: 47.97 kB / 0.5115 GB, free: 2.336 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 26 (writeCSV.firstTrigger,$PRE.writeCSV.firstTrigger,mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,$PRE.irradianceTable.nextTimeEvent,$whenCondition4,writeCSV.sampleTrigger,$whenCondition3,mpTracker.sampleTrigger,$whenCondition2,$PRE.powerTable.nextTimeEvent,$whenCondition1,powerTable.nextTimeEventScaled,$PRE.powerTable.nextTimeEventScaled,powerTable.nextTimeEvent,irradianceTable.nextTimeEventScaled,$PRE.irradianceTable.nextTimeEventScaled,irradianceTable.nextTimeEvent,mpTracker.vRef,$PRE.mpTracker.vRef,integrator.local_reset,converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0004664/0.2575, allocations: 331.5 kB / 0.5118 GB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/0.2576, allocations: 91.38 kB / 0.5119 GB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001942/0.2596, allocations: 0.913 MB / 0.5128 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.2596, allocations: 11.94 kB / 0.5128 GB, free: 0.9492 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.2596, allocations: 0 / 0.5128 GB, free: 0.9492 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.2596, allocations: 7.984 kB / 0.5128 GB, free: 0.9414 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005791/0.2654, allocations: 2.207 MB / 0.515 GB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.2655, allocations: 4.062 kB / 0.515 GB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003415/0.2658, allocations: 87.89 kB / 0.5151 GB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008261/0.2666, allocations: 326.2 kB / 0.5154 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.608e-05/0.2667, allocations: 27.97 kB / 0.5154 GB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001344/0.2681, allocations: 0.8858 MB / 0.5163 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.2681, allocations: 4.031 kB / 0.5163 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005126/0.2732, allocations: 1.639 MB / 0.5179 GB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004352/0.2737, allocations: 220.4 kB / 0.5181 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001503/0.2738, allocations: 27.95 kB / 0.5181 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005571/0.2744, allocations: 43.97 kB / 0.5181 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.933e-05/0.2745, allocations: 40.38 kB / 0.5182 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.731e-05/0.2746, allocations: 39.95 kB / 0.5182 GB, free: 11.22 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006169/0.2752, allocations: 459 kB / 0.5187 GB, free: 10.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.114e-06/0.2752, allocations: 0 / 0.5187 GB, free: 10.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009724/0.2762, allocations: 323.1 kB / 0.519 GB, free: 10.46 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (voltageSource.pin_p.reference.gamma,converter.integrator.y,integrator.y) * Number of discrete variables: 15 ($whenCondition1,powerTable.nextTimeEvent,powerTable.nextTimeEventScaled,$whenCondition4,$whenCondition2,$whenCondition3,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,writeCSV.sampleTrigger,writeCSV.firstTrigger,irradianceTable.nextTimeEvent,irradianceTable.nextTimeEventScaled) * Number of discrete states: 14 (irradianceTable.nextTimeEvent,irradianceTable.nextTimeEventScaled,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition2,mpTracker.sampleTrigger,mpTracker.power,writeCSV.firstTrigger,$whenCondition3,writeCSV.sampleTrigger,powerTable.nextTimeEventScaled,powerTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 4 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002032/0.2782, allocations: 0.6642 MB / 0.5196 GB, free: 10.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001993/0.2802, allocations: 0.968 MB / 0.5206 GB, free: 9.031 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.2802, allocations: 4.125 kB / 0.5206 GB, free: 9.027 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008959/0.2811, allocations: 481.2 kB / 0.521 GB, free: 8.531 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000931/0.2821, allocations: 171.5 kB / 0.5212 GB, free: 8.371 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003112/0.2852, allocations: 1.768 MB / 0.5229 GB, free: 6.559 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006552/0.2859, allocations: 1.021 MB / 0.5239 GB, free: 5.508 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002419/0.2861, allocations: 75.41 kB / 0.524 GB, free: 5.434 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2861, allocations: 0 / 0.524 GB, free: 5.434 MB / 382.1 MB Notification: Performance of Templates: time 0.02271/0.3088, allocations: 17.38 MB / 0.541 GB, free: 4.094 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.makefile [Timeout 660] (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.223196274833754] Failed to read output from testmodel.py, exit status != 0: 0.3155134958215058 0.32787951600000004 0.104974912 Calling exit ...