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.02525/0.02525, allocations: 5.397 MB / 21.03 MB, free: 1.633 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.004621/0.004621, allocations: 106.8 kB / 23.03 MB, free: 0.8047 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.0008907/0.0008907, allocations: 193.3 kB / 25.15 MB, free: 216 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.15/1.15, allocations: 222.9 MB / 250 MB, free: 8.449 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008449/0.008449, allocations: 2.324 MB / 303.7 MB, free: 6.52 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 87.86 kB / 419.6 MB, free: 22.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07764/0.07915, allocations: 51.21 MB / 470.9 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808): time 0.007231/0.08641, allocations: 6.849 MB / 477.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004831/0.09126, allocations: 3.943 MB / 481.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003419/0.09162, allocations: 23.94 kB / 481.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002273/0.0939, allocations: 1.157 MB / 482.8 MB, free: 7.273 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001438/0.09535, allocations: 0.8545 MB / 483.7 MB, free: 6.414 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.09666, allocations: 0.5476 MB / 484.2 MB, free: 5.871 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001177/0.09784, allocations: 1.413 MB / 485.6 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/0.09902, allocations: 1.009 MB / 486.6 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005593/0.09959, allocations: 0.5604 MB / 487.2 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007016/0.1003, allocations: 0.6886 MB / 487.9 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001564/0.1005, allocations: 148 kB / 488 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005824/0.1011, allocations: 443.6 kB / 488.5 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002248/0.1013, allocations: 314.9 kB / 488.8 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004737/0.1018, allocations: 0.6336 MB / 489.4 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001502/0.1033, allocations: 1.799 MB / 491.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1033, allocations: 0 / 491.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1033, allocations: 0 / 491.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.1033, allocations: 0 / 491.2 MB, free: 14.83 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.003552/0.1069, allocations: 1.813 MB / 493 MB, free: 12.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.1069, allocations: 8.031 kB / 493 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001936/0.1089, allocations: 379.1 kB / 493.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001611/0.1105, allocations: 0.8322 MB / 494.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.995e-05/0.1105, allocations: 78.08 kB / 494.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/0.1107, allocations: 107.9 kB / 494.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001847/0.1126, allocations: 1.173 MB / 495.6 MB, free: 10.28 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/0.1126, allocations: 0 / 495.6 MB, free: 10.28 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-05/0.1127, allocations: 44 kB / 495.6 MB, free: 10.24 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/0.1127, allocations: 28 kB / 495.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001924/0.1146, allocations: 1.07 MB / 496.7 MB, free: 9.141 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005264/0.1199, allocations: 4.341 MB / 0.4893 GB, free: 4.598 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002373/0.1223, allocations: 1.736 MB / 0.491 GB, free: 2.648 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000589/0.1229, allocations: 321.3 kB / 0.4913 GB, free: 2.332 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.484e-05/0.123, allocations: 105.6 kB / 0.4914 GB, free: 2.211 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007479/0.1238, allocations: 465.7 kB / 0.4919 GB, free: 1.727 MB / 366.1 MB Notification: Performance of pre-optimization done (n=69): time 2.365e-06/0.1238, allocations: 0 / 0.4919 GB, free: 1.727 MB / 366.1 MB Notification: Performance of matching and sorting (n=69): time 0.005239/0.129, allocations: 1.596 MB / 0.4934 GB, free: 92 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.1291, allocations: 222.2 kB / 0.4936 GB, free: 15.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006803/0.1298, allocations: 0.6525 MB / 0.4943 GB, free: 15.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.58e-05/0.1299, allocations: 41.7 kB / 0.4943 GB, free: 15.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003258/0.1302, allocations: 0.5181 MB / 0.4948 GB, free: 14.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/0.1304, allocations: 232.8 kB / 0.4951 GB, free: 14.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002576/0.1306, allocations: 186.4 kB / 0.4952 GB, free: 14.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1308, allocations: 390.7 kB / 0.4956 GB, free: 13.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005979/0.1314, allocations: 301.8 kB / 0.4959 GB, free: 13.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007449/0.1321, allocations: 0.5309 MB / 0.4964 GB, free: 12.85 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/0.1335, allocations: 0.9399 MB / 0.4973 GB, free: 11.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.1335, allocations: 3.938 kB / 0.4973 GB, free: 11.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002032/0.1356, allocations: 1.114 MB / 0.4984 GB, free: 10.65 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.566e-05/0.1356, allocations: 63.39 kB / 0.4985 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.1356, allocations: 8.281 kB / 0.4985 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004457/0.1361, allocations: 88.78 kB / 0.4986 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007932/0.1369, allocations: 227.6 kB / 0.4988 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001418/0.1383, allocations: 1.578 MB / 0.5003 GB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006464/0.139, allocations: 107 kB / 0.5004 GB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-05/0.1391, allocations: 47.97 kB / 0.5005 GB, free: 8.375 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.0003918/0.1395, allocations: 355.2 kB / 0.5008 GB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.1396, allocations: 79.06 kB / 0.5009 GB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00192/0.1416, allocations: 1.003 MB / 0.5019 GB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.1416, allocations: 8 kB / 0.5019 GB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1416, allocations: 0 / 0.5019 GB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.1416, allocations: 7.922 kB / 0.5019 GB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005484/0.1471, allocations: 2.306 MB / 0.5041 GB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1471, allocations: 0 / 0.5041 GB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003508/0.1475, allocations: 103.9 kB / 0.5042 GB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007537/0.1482, allocations: 326.3 kB / 0.5045 GB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.948e-05/0.1483, allocations: 27.97 kB / 0.5046 GB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001183/0.1495, allocations: 0.8935 MB / 0.5054 GB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1495, allocations: 3.984 kB / 0.5054 GB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002434/0.1519, allocations: 1.402 MB / 0.5068 GB, free: 1.672 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002792/0.1522, allocations: 228 kB / 0.507 GB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.1523, allocations: 24.06 kB / 0.5071 GB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005028/0.1528, allocations: 47.97 kB / 0.5071 GB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.636e-05/0.1529, allocations: 40.5 kB / 0.5071 GB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.106e-05/0.153, allocations: 35.97 kB / 0.5072 GB, free: 1.281 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004873/0.1535, allocations: 451 kB / 0.5076 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1535, allocations: 0 / 0.5076 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008087/0.1543, allocations: 323 kB / 0.5079 GB, free: 0.5312 MB / 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.001303/0.1556, allocations: 0.6709 MB / 0.5086 GB, free: 96 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.1565/0.3121, allocations: 0.9871 MB / 0.5095 GB, free: 46.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.3122, allocations: 0.7812 kB / 0.5095 GB, free: 46.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007968/0.313, allocations: 499.2 kB / 0.51 GB, free: 46.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008269/0.3138, allocations: 153.7 kB / 0.5102 GB, free: 46.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002611/0.3164, allocations: 1.74 MB / 0.5119 GB, free: 45.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004185/0.3169, allocations: 1.021 MB / 0.5129 GB, free: 45.1 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003685/0.3172, allocations: 125 kB / 0.513 GB, free: 45.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001978/0.3174, allocations: 81.59 kB / 0.5131 GB, free: 45.08 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3174, allocations: 1.469 kB / 0.5131 GB, free: 45.08 MB / 382.1 MB Notification: Performance of Templates: time 0.01818/0.3356, allocations: 12.51 MB / 0.5253 GB, free: 41.55 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)