Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.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_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.04781/0.04781, allocations: 5.391 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.01039/0.01039, allocations: 95.06 kB / 23.03 MB, free: 0.7734 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.001884/0.001884, allocations: 194.3 kB / 25.15 MB, free: 192 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.383/1.383, allocations: 222.9 MB / 250 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.00953/0.00953, allocations: 2.329 MB / 303.7 MB, free: 6.473 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 91.86 kB / 419.6 MB, free: 22.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08579/0.08752, allocations: 51.22 MB / 470.9 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629): time 0.008109/0.09567, allocations: 6.845 MB / 477.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006229/0.1019, allocations: 3.947 MB / 481.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007401/0.1027, allocations: 23.94 kB / 481.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002803/0.1056, allocations: 1.177 MB / 482.8 MB, free: 7.207 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002523/0.1081, allocations: 0.8701 MB / 483.7 MB, free: 6.332 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001845/0.1099, allocations: 0.5453 MB / 484.3 MB, free: 5.789 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001607/0.1116, allocations: 1.409 MB / 485.7 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001533/0.1131, allocations: 1.013 MB / 486.7 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008078/0.1139, allocations: 0.5682 MB / 487.3 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008109/0.1147, allocations: 0.6808 MB / 487.9 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001865/0.1149, allocations: 144 kB / 488.1 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009262/0.1159, allocations: 443.6 kB / 488.5 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002851/0.1162, allocations: 314.9 kB / 488.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005902/0.1168, allocations: 0.6336 MB / 489.4 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002108/0.1189, allocations: 1.813 MB / 491.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1189, allocations: 4 kB / 491.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1189, allocations: 0 / 491.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.678e-05/0.1189, allocations: 0 / 491.3 MB, free: 14.73 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.004265/0.1232, allocations: 1.839 MB / 493.1 MB, free: 12.83 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1233, allocations: 8.031 kB / 493.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002178/0.1254, allocations: 387.8 kB / 493.5 MB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0019/0.1274, allocations: 0.8366 MB / 494.3 MB, free: 11.56 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.963e-05/0.1274, allocations: 82.08 kB / 494.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000169/0.1276, allocations: 108 kB / 494.5 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/0.1297, allocations: 1.169 MB / 495.7 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.878e-05/0.1297, allocations: 0 / 495.7 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.1299, allocations: 48 kB / 495.7 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.294e-05/0.1299, allocations: 24 kB / 495.8 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002122/0.132, allocations: 1.066 MB / 496.8 MB, free: 9.008 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006224/0.1383, allocations: 4.362 MB / 0.4894 GB, free: 4.445 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002656/0.1409, allocations: 1.743 MB / 0.4911 GB, free: 2.492 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006793/0.1416, allocations: 330.2 kB / 0.4914 GB, free: 2.168 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-05/0.1417, allocations: 97.66 kB / 0.4915 GB, free: 2.055 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008774/0.1426, allocations: 465.7 kB / 0.492 GB, free: 1.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=69): time 2.435e-06/0.1426, allocations: 0 / 0.492 GB, free: 1.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=69): time 0.006153/0.1488, allocations: 1.589 MB / 0.4935 GB, free: 15.94 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.1489, allocations: 226.2 kB / 0.4938 GB, free: 15.67 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008307/0.1498, allocations: 0.6487 MB / 0.4944 GB, free: 15.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.043e-05/0.1498, allocations: 45.69 kB / 0.4944 GB, free: 14.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003869/0.1502, allocations: 0.535 MB / 0.495 GB, free: 14.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/0.1504, allocations: 250 kB / 0.4952 GB, free: 14.17 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002853/0.1507, allocations: 182.5 kB / 0.4954 GB, free: 13.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.1509, allocations: 394.7 kB / 0.4957 GB, free: 13.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006663/0.1516, allocations: 297.8 kB / 0.496 GB, free: 13.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008542/0.1524, allocations: 0.5309 MB / 0.4965 GB, free: 12.67 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/0.154, allocations: 0.9438 MB / 0.4975 GB, free: 11.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.154, allocations: 0 / 0.4975 GB, free: 11.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00233/0.1563, allocations: 1.114 MB / 0.4986 GB, free: 10.47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.916e-05/0.1564, allocations: 65.75 kB / 0.4986 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.1564, allocations: 8 kB / 0.4986 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005303/0.1569, allocations: 85.06 kB / 0.4987 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009231/0.1579, allocations: 227.5 kB / 0.4989 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001624/0.1595, allocations: 1.586 MB / 0.5005 GB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007874/0.1603, allocations: 111.3 kB / 0.5006 GB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.126e-05/0.1604, allocations: 43.98 kB / 0.5006 GB, free: 8.191 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.0005014/0.1609, allocations: 347.2 kB / 0.501 GB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/0.1611, allocations: 83.48 kB / 0.501 GB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002206/0.1633, allocations: 1.01 MB / 0.502 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.1633, allocations: 8 kB / 0.502 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.1633, allocations: 3.938 kB / 0.502 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.1633, allocations: 3.984 kB / 0.502 GB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006555/0.1699, allocations: 2.302 MB / 0.5043 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.1699, allocations: 0 / 0.5043 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004034/0.1703, allocations: 99.92 kB / 0.5044 GB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008438/0.1712, allocations: 334.2 kB / 0.5047 GB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.24e-05/0.1713, allocations: 23.98 kB / 0.5047 GB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001388/0.1727, allocations: 0.9014 MB / 0.5056 GB, free: 2.926 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.1727, allocations: 3.984 kB / 0.5056 GB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002901/0.1756, allocations: 1.41 MB / 0.507 GB, free: 1.473 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004958/0.1761, allocations: 228.3 kB / 0.5072 GB, free: 1.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/0.1762, allocations: 20 kB / 0.5072 GB, free: 1.211 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005865/0.1768, allocations: 43.97 kB / 0.5073 GB, free: 1.168 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.177, allocations: 48.5 kB / 0.5073 GB, free: 1.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.918e-05/0.177, allocations: 31.97 kB / 0.5073 GB, free: 1.086 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006522/0.1777, allocations: 455 kB / 0.5078 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1777, allocations: 0 / 0.5078 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001114/0.1788, allocations: 323.2 kB / 0.5081 GB, free: 340 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.1993/0.3781, allocations: 0.6588 MB / 0.5087 GB, free: 46.87 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002391/0.3806, allocations: 0.993 MB / 0.5097 GB, free: 46.63 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.3806, allocations: 0.6562 kB / 0.5097 GB, free: 46.63 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008757/0.3815, allocations: 0.4968 MB / 0.5102 GB, free: 46.49 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009149/0.3824, allocations: 147.3 kB / 0.5103 GB, free: 46.49 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003108/0.3855, allocations: 1.768 MB / 0.512 GB, free: 45.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005114/0.386, allocations: 1.014 MB / 0.513 GB, free: 45.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004797/0.3865, allocations: 137.3 kB / 0.5132 GB, free: 45.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002169/0.3868, allocations: 80.03 kB / 0.5132 GB, free: 45.04 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3868, allocations: 0 / 0.5132 GB, free: 45.04 MB / 382.1 MB Notification: Performance of Templates: time 0.02403/0.4108, allocations: 12.21 MB / 0.5252 GB, free: 41.65 MB / 382.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe 2>&1)