Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) 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_TGM 2.0.0/package.mo", uses=false) 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_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.03043/0.03043, allocations: 5.394 MB / 21.03 MB, free: 1.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 95.12 kB / 23.02 MB, free: 0.7852 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.001368/0.001368, allocations: 205.1 kB / 25.16 MB, free: 168 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.197/1.197, allocations: 222.9 MB / 250 MB, free: 8.402 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008569/0.008569, allocations: 2.318 MB / 303.7 MB, free: 6.457 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 95.86 kB / 419.6 MB, free: 22.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07674/0.07829, allocations: 51.21 MB / 470.8 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808): time 0.007541/0.08585, allocations: 6.901 MB / 477.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00531/0.09118, allocations: 4.01 MB / 481.8 MB, free: 8.395 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004927/0.09169, allocations: 23.94 kB / 481.8 MB, free: 8.371 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002322/0.09402, allocations: 1.178 MB / 483 MB, free: 7.188 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001644/0.09568, allocations: 0.8775 MB / 483.8 MB, free: 6.309 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.09723, allocations: 0.6103 MB / 484.4 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001367/0.09861, allocations: 1.421 MB / 485.9 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/0.09985, allocations: 1.013 MB / 486.9 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005902/0.1005, allocations: 0.5604 MB / 487.4 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007371/0.1012, allocations: 0.6885 MB / 488.1 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000215/0.1014, allocations: 140 kB / 488.3 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007248/0.1022, allocations: 439.7 kB / 488.7 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002302/0.1024, allocations: 294.9 kB / 489 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004718/0.1029, allocations: 0.6336 MB / 489.6 MB, free: 500 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00169/0.1046, allocations: 1.756 MB / 491.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1046, allocations: 3.984 kB / 491.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1046, allocations: 4 kB / 491.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.1046, allocations: 0 / 491.4 MB, free: 14.72 MB / 366.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.003638/0.1083, allocations: 1.798 MB / 493.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.1083, allocations: 8.031 kB / 493.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001903/0.1102, allocations: 379.1 kB / 493.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001556/0.1118, allocations: 0.8165 MB / 494.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.495e-05/0.1118, allocations: 74 kB / 494.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.112, allocations: 100 kB / 494.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001758/0.1138, allocations: 1.134 MB / 495.7 MB, free: 10.26 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/0.1138, allocations: 11.84 kB / 495.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.695e-05/0.1139, allocations: 40 kB / 495.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.973e-05/0.1139, allocations: 28 kB / 495.7 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/0.1157, allocations: 0.9508 MB / 496.7 MB, free: 9.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00524/0.1209, allocations: 4.295 MB / 0.4893 GB, free: 4.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002322/0.1233, allocations: 1.67 MB / 0.4909 GB, free: 2.836 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005964/0.1239, allocations: 318.1 kB / 0.4912 GB, free: 2.516 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.47e-05/0.124, allocations: 93.53 kB / 0.4913 GB, free: 2.406 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007396/0.1247, allocations: 466.5 kB / 0.4917 GB, free: 1.922 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 2.404e-06/0.1247, allocations: 0 / 0.4917 GB, free: 1.922 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.005141/0.1299, allocations: 1.545 MB / 0.4932 GB, free: 344 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.13, allocations: 273.6 kB / 0.4935 GB, free: 8 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007228/0.1307, allocations: 0.6681 MB / 0.4941 GB, free: 15.33 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.964e-05/0.1308, allocations: 45.73 kB / 0.4942 GB, free: 15.28 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003016/0.1311, allocations: 0.5218 MB / 0.4947 GB, free: 14.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/0.1312, allocations: 209.1 kB / 0.4949 GB, free: 14.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002445/0.1315, allocations: 182.4 kB / 0.4951 GB, free: 14.35 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1316, allocations: 394.7 kB / 0.4954 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005806/0.1322, allocations: 285.8 kB / 0.4957 GB, free: 13.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007231/0.133, allocations: 0.5363 MB / 0.4962 GB, free: 13.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/0.1343, allocations: 0.9137 MB / 0.4971 GB, free: 12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.1343, allocations: 3.938 kB / 0.4971 GB, free: 11.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001958/0.1362, allocations: 1.067 MB / 0.4982 GB, free: 10.9 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.606e-05/0.1363, allocations: 71.39 kB / 0.4982 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.1363, allocations: 8 kB / 0.4983 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000424/0.1368, allocations: 85.06 kB / 0.4983 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007799/0.1375, allocations: 215.7 kB / 0.4985 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/0.1389, allocations: 1.586 MB / 0.5001 GB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006428/0.1395, allocations: 119 kB / 0.5002 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.384e-05/0.1396, allocations: 43.97 kB / 0.5002 GB, free: 8.625 MB / 382.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.0003615/0.14, allocations: 331.5 kB / 0.5006 GB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.1401, allocations: 87 kB / 0.5006 GB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001763/0.1419, allocations: 0.9168 MB / 0.5015 GB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.1419, allocations: 12 kB / 0.5016 GB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.1419, allocations: 0 / 0.5016 GB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.1419, allocations: 3.984 kB / 0.5016 GB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005266/0.1472, allocations: 2.203 MB / 0.5037 GB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.1472, allocations: 0 / 0.5037 GB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003249/0.1475, allocations: 91.83 kB / 0.5038 GB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007344/0.1483, allocations: 326.3 kB / 0.5041 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.096e-05/0.1483, allocations: 23.97 kB / 0.5041 GB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001168/0.1495, allocations: 0.8896 MB / 0.505 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1495, allocations: 0 / 0.505 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004666/0.1542, allocations: 1.635 MB / 0.5066 GB, free: 1.906 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002962/0.1545, allocations: 223.9 kB / 0.5068 GB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.1546, allocations: 16 kB / 0.5068 GB, free: 1.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005098/0.1551, allocations: 59.94 kB / 0.5069 GB, free: 1.594 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.186e-05/0.1552, allocations: 36.39 kB / 0.5069 GB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.817e-05/0.1553, allocations: 31.97 kB / 0.5069 GB, free: 1.527 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005181/0.1558, allocations: 463 kB / 0.5074 GB, free: 1.078 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1558, allocations: 0 / 0.5074 GB, free: 1.078 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008441/0.1567, allocations: 319 kB / 0.5077 GB, free: 0.7656 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.001246/0.1579, allocations: 0.6586 MB / 0.5083 GB, free: 340 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.1594/0.3173, allocations: 0.9579 MB / 0.5093 GB, free: 46.35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.3173, allocations: 4.531 kB / 0.5093 GB, free: 46.35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001042/0.3184, allocations: 480 kB / 0.5097 GB, free: 46.22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.3195, allocations: 170.4 kB / 0.5099 GB, free: 46.22 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003287/0.3229, allocations: 1.7 MB / 0.5116 GB, free: 45.56 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005583/0.3234, allocations: 1.014 MB / 0.5125 GB, free: 44.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004695/0.3239, allocations: 116.4 kB / 0.5127 GB, free: 44.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002218/0.3241, allocations: 78.02 kB / 0.5127 GB, free: 44.84 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3241, allocations: 1.688 kB / 0.5127 GB, free: 44.84 MB / 382.1 MB Notification: Performance of Templates: time 0.0202/0.3443, allocations: 12.63 MB / 0.5251 GB, free: 41.2 MB / 382.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe 2>&1)