Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_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_Trina_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02848/0.02848, allocations: 5.399 MB / 21.7 MB, free: 1.363 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.001148/0.001148, allocations: 108.7 kB / 23.69 MB, free: 0.957 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.001215/0.001215, allocations: 193 kB / 25.82 MB, free: 4.66 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.192/1.192, allocations: 222.9 MB / 250.7 MB, free: 8.418 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008911/0.008911, allocations: 2.322 MB / 304.4 MB, free: 6.477 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 107.8 kB / 420.3 MB, free: 22.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07374/0.07535, allocations: 51.21 MB / 471.5 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808): time 0.007359/0.08273, allocations: 6.854 MB / 478.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005046/0.0878, allocations: 3.935 MB / 482.3 MB, free: 8.406 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003361/0.08815, allocations: 27.88 kB / 482.3 MB, free: 8.379 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002274/0.09043, allocations: 1.151 MB / 483.5 MB, free: 7.223 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001449/0.09189, allocations: 0.8621 MB / 484.4 MB, free: 6.359 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.09313, allocations: 0.548 MB / 484.9 MB, free: 5.816 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001105/0.09424, allocations: 1.413 MB / 486.3 MB, free: 4.398 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001142/0.0954, allocations: 1.021 MB / 487.3 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004903/0.0959, allocations: 0.5526 MB / 487.9 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006884/0.09659, allocations: 0.6925 MB / 488.6 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001669/0.09677, allocations: 148 kB / 488.7 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005873/0.09736, allocations: 435.7 kB / 489.2 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002289/0.0976, allocations: 311 kB / 489.5 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004895/0.0981, allocations: 0.6375 MB / 490.1 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001474/0.09958, allocations: 1.795 MB / 491.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.09959, allocations: 0 / 491.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.0996, allocations: 0 / 491.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.09962, allocations: 4 kB / 491.9 MB, free: 14.78 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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.003597/0.1032, allocations: 1.806 MB / 493.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.77e-05/0.1033, allocations: 8.031 kB / 493.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002032/0.1053, allocations: 383.1 kB / 494.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001594/0.1069, allocations: 0.836 MB / 494.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.478e-05/0.107, allocations: 82.08 kB / 495 MB, free: 11.56 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/0.1071, allocations: 104 kB / 495.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/0.109, allocations: 1.173 MB / 496.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/0.109, allocations: 7.938 kB / 496.3 MB, free: 10.22 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.677e-05/0.1091, allocations: 40 kB / 496.3 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.9e-05/0.1091, allocations: 28 kB / 496.3 MB, free: 10.15 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001904/0.1111, allocations: 1.07 MB / 497.4 MB, free: 9.082 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005412/0.1165, allocations: 4.329 MB / 0.49 GB, free: 4.551 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002457/0.1189, allocations: 1.748 MB / 0.4917 GB, free: 2.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005969/0.1196, allocations: 325.3 kB / 0.492 GB, free: 2.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-05/0.1196, allocations: 105.6 kB / 0.4921 GB, free: 2.148 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000749/0.1204, allocations: 457.8 kB / 0.4925 GB, free: 1.672 MB / 366.1 MB Notification: Performance of pre-optimization done (n=69): time 1.963e-06/0.1204, allocations: 0 / 0.4925 GB, free: 1.672 MB / 366.1 MB Notification: Performance of matching and sorting (n=69): time 0.005306/0.1257, allocations: 1.6 MB / 0.4941 GB, free: 32 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.1258, allocations: 226.2 kB / 0.4943 GB, free: 15.76 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006785/0.1265, allocations: 0.6447 MB / 0.4949 GB, free: 15.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.901e-05/0.1266, allocations: 41.7 kB / 0.495 GB, free: 15.06 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003072/0.1269, allocations: 0.5218 MB / 0.4955 GB, free: 14.53 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001619/0.1271, allocations: 224.8 kB / 0.4957 GB, free: 14.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002508/0.1273, allocations: 194.5 kB / 0.4959 GB, free: 14.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1275, allocations: 394.6 kB / 0.4963 GB, free: 13.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005989/0.1281, allocations: 297.8 kB / 0.4966 GB, free: 13.42 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007514/0.1289, allocations: 0.5348 MB / 0.4971 GB, free: 12.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/0.1303, allocations: 0.9282 MB / 0.498 GB, free: 11.74 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.1303, allocations: 8 kB / 0.498 GB, free: 11.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002035/0.1323, allocations: 1.114 MB / 0.4991 GB, free: 10.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.684e-05/0.1324, allocations: 69.58 kB / 0.4991 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.1324, allocations: 8 kB / 0.4992 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004427/0.1329, allocations: 89.06 kB / 0.4992 GB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007981/0.1337, allocations: 223.5 kB / 0.4995 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001348/0.135, allocations: 1.589 MB / 0.501 GB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006504/0.1357, allocations: 103 kB / 0.5011 GB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.395e-05/0.1358, allocations: 47.97 kB / 0.5011 GB, free: 8.312 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 21 (writeCSV.firstTrigger,$PRE.writeCSV.firstTrigger,mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,$PRE.combiTimeTable.nextTimeEvent,$whenCondition3,writeCSV.sampleTrigger,$whenCondition2,mpTracker.sampleTrigger,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.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 (118): * Single equations (assignments): 115 * 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.0003679/0.1361, allocations: 339.1 kB / 0.5015 GB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.1363, allocations: 87.12 kB / 0.5016 GB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001932/0.1382, allocations: 1.007 MB / 0.5025 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.1382, allocations: 4 kB / 0.5025 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.1382, allocations: 0 / 0.5025 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.1383, allocations: 7.984 kB / 0.5026 GB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005589/0.1438, allocations: 2.309 MB / 0.5048 GB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.1439, allocations: 0 / 0.5048 GB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003536/0.1442, allocations: 99.89 kB / 0.5049 GB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007548/0.145, allocations: 326.2 kB / 0.5052 GB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.235e-05/0.145, allocations: 27.97 kB / 0.5052 GB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001203/0.1463, allocations: 0.8896 MB / 0.5061 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1463, allocations: 11.91 kB / 0.5061 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002458/0.1487, allocations: 1.402 MB / 0.5075 GB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002668/0.149, allocations: 228 kB / 0.5077 GB, free: 1.371 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.1491, allocations: 20 kB / 0.5077 GB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005339/0.1497, allocations: 47.95 kB / 0.5078 GB, free: 1.305 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.121e-05/0.1498, allocations: 48.44 kB / 0.5078 GB, free: 1.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-05/0.1498, allocations: 31.97 kB / 0.5078 GB, free: 1.223 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000485/0.1503, allocations: 451 kB / 0.5083 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1503, allocations: 0 / 0.5083 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007556/0.1511, allocations: 323 kB / 0.5086 GB, free: 484 kB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (voltageSource.pin_p.reference.gamma,converter.integrator.y,integrator.y) * Number of discrete variables: 12 ($whenCondition3,$whenCondition1,$whenCondition2,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled,writeCSV.sampleTrigger,writeCSV.firstTrigger) * Number of discrete states: 12 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power,writeCSV.firstTrigger,$whenCondition2,writeCSV.sampleTrigger) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.001386/0.1525, allocations: 0.6637 MB / 0.5092 GB, free: 44 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.1539/0.3064, allocations: 0.9902 MB / 0.5102 GB, free: 46.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.3064, allocations: 0 / 0.5102 GB, free: 46.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008855/0.3073, allocations: 0.4951 MB / 0.5107 GB, free: 46.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008916/0.3082, allocations: 150.7 kB / 0.5108 GB, free: 46.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003025/0.3112, allocations: 1.773 MB / 0.5126 GB, free: 45.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004958/0.3117, allocations: 1.015 MB / 0.5135 GB, free: 44.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002394/0.312, allocations: 88.73 kB / 0.5136 GB, free: 44.87 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.312, allocations: 3.938 kB / 0.5136 GB, free: 44.87 MB / 382.1 MB Notification: Performance of Templates: time 0.01785/0.3298, allocations: 17.5 MB / 0.5307 GB, free: 38.5 MB / 382.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe 2>&1)