Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.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_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.03215/0.03215, allocations: 5.396 MB / 21.03 MB, free: 2.016 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.001109/0.001109, allocations: 104.1 kB / 23.03 MB, free: 20 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 195.3 kB / 25.14 MB, free: 352 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.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.008708/0.008708, allocations: 2.32 MB / 303.7 MB, free: 6.492 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 99.84 kB / 419.6 MB, free: 22.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07507/0.07661, allocations: 51.21 MB / 470.8 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704): time 0.007041/0.08368, allocations: 6.862 MB / 477.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004887/0.08858, allocations: 3.939 MB / 481.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003351/0.08893, allocations: 19.94 kB / 481.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002221/0.09116, allocations: 1.158 MB / 482.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001426/0.09259, allocations: 0.8584 MB / 483.7 MB, free: 6.383 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.09383, allocations: 0.542 MB / 484.2 MB, free: 5.848 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001128/0.09497, allocations: 1.413 MB / 485.6 MB, free: 4.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001134/0.09611, allocations: 1.021 MB / 486.7 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005017/0.09662, allocations: 0.5565 MB / 487.2 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006869/0.09732, allocations: 0.6886 MB / 487.9 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001465/0.09748, allocations: 144 kB / 488 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005791/0.09806, allocations: 439.7 kB / 488.5 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002165/0.09829, allocations: 307 kB / 488.8 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004629/0.09876, allocations: 0.6414 MB / 489.4 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001461/0.1002, allocations: 1.803 MB / 491.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1002, allocations: 4 kB / 491.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1002, allocations: 0 / 491.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.1003, allocations: 0 / 491.2 MB, free: 14.8 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.00347/0.1037, allocations: 1.806 MB / 493 MB, free: 12.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.849e-05/0.1038, allocations: 8.031 kB / 493 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001941/0.1057, allocations: 379.2 kB / 493.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001545/0.1073, allocations: 0.8282 MB / 494.2 MB, free: 11.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.816e-05/0.1073, allocations: 78.08 kB / 494.3 MB, free: 11.6 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.1075, allocations: 112 kB / 494.4 MB, free: 11.49 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/0.1093, allocations: 1.173 MB / 495.6 MB, free: 10.26 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/0.1093, allocations: 3.938 kB / 495.6 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-05/0.1094, allocations: 48 kB / 495.6 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/0.1095, allocations: 28 kB / 495.7 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001878/0.1114, allocations: 1.07 MB / 496.7 MB, free: 9.109 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005384/0.1167, allocations: 4.333 MB / 0.4893 GB, free: 4.574 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002422/0.1192, allocations: 1.744 MB / 0.491 GB, free: 2.617 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006101/0.1198, allocations: 327.3 kB / 0.4913 GB, free: 2.293 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.99e-05/0.1199, allocations: 101.6 kB / 0.4914 GB, free: 2.176 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008082/0.1207, allocations: 465.8 kB / 0.4919 GB, free: 1.691 MB / 366.1 MB Notification: Performance of pre-optimization done (n=69): time 2.826e-06/0.1207, allocations: 0 / 0.4919 GB, free: 1.691 MB / 366.1 MB Notification: Performance of matching and sorting (n=69): time 0.005516/0.1263, allocations: 1.592 MB / 0.4934 GB, free: 60 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.1264, allocations: 230.2 kB / 0.4937 GB, free: 15.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007593/0.1272, allocations: 0.6447 MB / 0.4943 GB, free: 15.13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.788e-05/0.1272, allocations: 41.7 kB / 0.4943 GB, free: 15.08 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003383/0.1276, allocations: 0.5179 MB / 0.4948 GB, free: 14.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/0.1277, allocations: 232.8 kB / 0.4951 GB, free: 14.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002596/0.128, allocations: 186.4 kB / 0.4952 GB, free: 14.13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.1282, allocations: 394.6 kB / 0.4956 GB, free: 13.74 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005915/0.1288, allocations: 297.8 kB / 0.4959 GB, free: 13.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007286/0.1295, allocations: 0.5348 MB / 0.4964 GB, free: 12.81 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/0.1309, allocations: 0.936 MB / 0.4973 GB, free: 11.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.1309, allocations: 4 kB / 0.4973 GB, free: 11.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002038/0.1329, allocations: 1.114 MB / 0.4984 GB, free: 10.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.31e-05/0.133, allocations: 67.41 kB / 0.4985 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.133, allocations: 8 kB / 0.4985 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004326/0.1334, allocations: 80.78 kB / 0.4986 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008055/0.1343, allocations: 231.8 kB / 0.4988 GB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/0.1356, allocations: 1.581 MB / 0.5003 GB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000655/0.1363, allocations: 115.1 kB / 0.5004 GB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.338e-05/0.1363, allocations: 43.98 kB / 0.5005 GB, free: 8.336 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.0003912/0.1367, allocations: 343.1 kB / 0.5008 GB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.1369, allocations: 79.06 kB / 0.5009 GB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001929/0.1388, allocations: 0.9989 MB / 0.5019 GB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1388, allocations: 11.94 kB / 0.5019 GB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.1388, allocations: 4 kB / 0.5019 GB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.1388, allocations: 7.984 kB / 0.5019 GB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005424/0.1443, allocations: 2.302 MB / 0.5041 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.1443, allocations: 4 kB / 0.5041 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003422/0.1446, allocations: 95.89 kB / 0.5042 GB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007475/0.1454, allocations: 338.2 kB / 0.5046 GB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.306e-05/0.1455, allocations: 23.97 kB / 0.5046 GB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001176/0.1466, allocations: 0.8974 MB / 0.5055 GB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1466, allocations: 3.938 kB / 0.5055 GB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002378/0.149, allocations: 1.398 MB / 0.5068 GB, free: 1.641 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002622/0.1493, allocations: 220 kB / 0.507 GB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.1494, allocations: 24 kB / 0.5071 GB, free: 1.383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005068/0.1499, allocations: 51.95 kB / 0.5071 GB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.656e-05/0.15, allocations: 48.53 kB / 0.5072 GB, free: 1.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.654e-05/0.1501, allocations: 31.95 kB / 0.5072 GB, free: 1.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004739/0.1506, allocations: 455 kB / 0.5076 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1506, allocations: 4 kB / 0.5076 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007551/0.1513, allocations: 327 kB / 0.5079 GB, free: 500 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.001214/0.1526, allocations: 0.6506 MB / 0.5086 GB, free: 72 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.1562/0.3087, allocations: 0.9941 MB / 0.5095 GB, free: 46.69 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3088, allocations: 0.8438 kB / 0.5095 GB, free: 46.69 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007843/0.3095, allocations: 498.9 kB / 0.51 GB, free: 46.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008244/0.3104, allocations: 153.8 kB / 0.5102 GB, free: 46.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002604/0.313, allocations: 1.734 MB / 0.5119 GB, free: 45.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004227/0.3134, allocations: 1.02 MB / 0.5129 GB, free: 45.17 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003978/0.3138, allocations: 133.8 kB / 0.513 GB, free: 45.15 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001991/0.314, allocations: 83.03 kB / 0.5131 GB, free: 45.14 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3141, allocations: 0 / 0.5131 GB, free: 45.14 MB / 382.1 MB Notification: Performance of Templates: time 0.01798/0.332, allocations: 12.5 MB / 0.5253 GB, free: 41.57 MB / 382.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe 2>&1)