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.02747/0.02747, allocations: 5.394 MB / 21.03 MB, free: 1.629 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.006081/0.006081, allocations: 106.5 kB / 23.03 MB, free: 0.793 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.001043/0.001043, allocations: 196.6 kB / 25.15 MB, free: 220 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.204/1.204, allocations: 222.9 MB / 250 MB, free: 8.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009195/0.009195, allocations: 2.322 MB / 303.7 MB, free: 6.484 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 99.84 kB / 419.6 MB, free: 22.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07304/0.07464, allocations: 51.21 MB / 470.9 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629): time 0.007627/0.0823, allocations: 6.843 MB / 477.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005439/0.08776, allocations: 3.943 MB / 481.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006632/0.08845, allocations: 23.94 kB / 481.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002493/0.09095, allocations: 1.158 MB / 482.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001625/0.09258, allocations: 0.8543 MB / 483.7 MB, free: 6.367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002986/0.09558, allocations: 0.548 MB / 484.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001274/0.09688, allocations: 1.413 MB / 485.6 MB, free: 4.406 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001142/0.09803, allocations: 1.017 MB / 486.7 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004998/0.09854, allocations: 0.5565 MB / 487.2 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006982/0.09925, allocations: 0.6925 MB / 487.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001554/0.09941, allocations: 144 kB / 488 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005759/0.1, allocations: 435.7 kB / 488.5 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002194/0.1002, allocations: 318.8 kB / 488.8 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004658/0.1007, allocations: 0.6375 MB / 489.4 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001518/0.1022, allocations: 1.799 MB / 491.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1022, allocations: 0 / 491.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1022, allocations: 0 / 491.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.1023, allocations: 0 / 491.2 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.003514/0.1058, allocations: 1.806 MB / 493 MB, free: 12.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.1058, allocations: 12.03 kB / 493 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001952/0.1078, allocations: 379.2 kB / 493.4 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/0.1094, allocations: 0.8282 MB / 494.2 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.02e-05/0.1094, allocations: 86.08 kB / 494.3 MB, free: 11.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/0.1096, allocations: 107.9 kB / 494.4 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/0.1114, allocations: 1.173 MB / 495.6 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/0.1115, allocations: 0 / 495.6 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-05/0.1116, allocations: 44 kB / 495.6 MB, free: 10.19 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.968e-05/0.1116, allocations: 24 kB / 495.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001933/0.1135, allocations: 1.07 MB / 496.7 MB, free: 9.094 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005484/0.119, allocations: 4.341 MB / 0.4893 GB, free: 4.551 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002424/0.1215, allocations: 1.748 MB / 0.491 GB, free: 2.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005914/0.1221, allocations: 322.3 kB / 0.4913 GB, free: 2.273 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.09e-05/0.1222, allocations: 101.6 kB / 0.4914 GB, free: 2.156 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007443/0.1229, allocations: 461.7 kB / 0.4919 GB, free: 1.676 MB / 366.1 MB Notification: Performance of pre-optimization done (n=69): time 1.803e-06/0.1229, allocations: 4 kB / 0.4919 GB, free: 1.672 MB / 366.1 MB Notification: Performance of matching and sorting (n=69): time 0.005264/0.1282, allocations: 1.596 MB / 0.4934 GB, free: 36 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.1283, allocations: 222.2 kB / 0.4937 GB, free: 15.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006834/0.129, allocations: 0.6486 MB / 0.4943 GB, free: 15.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.527e-05/0.1291, allocations: 41.69 kB / 0.4943 GB, free: 15.06 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003122/0.1294, allocations: 0.5179 MB / 0.4948 GB, free: 14.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001573/0.1296, allocations: 236.9 kB / 0.4951 GB, free: 14.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002495/0.1298, allocations: 186.4 kB / 0.4952 GB, free: 14.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.13, allocations: 390.7 kB / 0.4956 GB, free: 13.72 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005897/0.1306, allocations: 297.8 kB / 0.4959 GB, free: 13.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007218/0.1313, allocations: 0.5348 MB / 0.4964 GB, free: 12.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/0.1326, allocations: 0.936 MB / 0.4973 GB, free: 11.74 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.1327, allocations: 0 / 0.4973 GB, free: 11.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002013/0.1347, allocations: 1.121 MB / 0.4984 GB, free: 10.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.019e-05/0.1347, allocations: 65.89 kB / 0.4985 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.1347, allocations: 8 kB / 0.4985 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004396/0.1352, allocations: 89.05 kB / 0.4986 GB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007792/0.136, allocations: 223.6 kB / 0.4988 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/0.1374, allocations: 1.582 MB / 0.5003 GB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006021/0.138, allocations: 111 kB / 0.5004 GB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.42e-05/0.1381, allocations: 47.97 kB / 0.5005 GB, free: 8.316 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.0003629/0.1385, allocations: 343.2 kB / 0.5008 GB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.1386, allocations: 79.06 kB / 0.5009 GB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001925/0.1405, allocations: 1.003 MB / 0.5019 GB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.1406, allocations: 8 kB / 0.5019 GB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1406, allocations: 7.938 kB / 0.5019 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.517e-06/0.1406, allocations: 3.984 kB / 0.5019 GB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00551/0.1461, allocations: 2.306 MB / 0.5041 GB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.1461, allocations: 0 / 0.5041 GB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003567/0.1465, allocations: 103.9 kB / 0.5042 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000739/0.1472, allocations: 322.3 kB / 0.5045 GB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-05/0.1473, allocations: 31.97 kB / 0.5046 GB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001196/0.1485, allocations: 0.8935 MB / 0.5055 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.1485, allocations: 3.984 kB / 0.5055 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002427/0.1509, allocations: 1.409 MB / 0.5068 GB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002612/0.1512, allocations: 224 kB / 0.507 GB, free: 1.375 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.1513, allocations: 20 kB / 0.5071 GB, free: 1.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004963/0.1518, allocations: 39.97 kB / 0.5071 GB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.254e-05/0.1519, allocations: 48.5 kB / 0.5071 GB, free: 1.266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-05/0.152, allocations: 31.97 kB / 0.5072 GB, free: 1.234 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004738/0.1525, allocations: 455 kB / 0.5076 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1525, allocations: 0 / 0.5076 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007411/0.1532, allocations: 319 kB / 0.5079 GB, free: 496 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.001259/0.1545, allocations: 0.6714 MB / 0.5086 GB, free: 44 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.1561/0.3106, allocations: 0.9926 MB / 0.5095 GB, free: 46.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.3106, allocations: 0.6562 kB / 0.5095 GB, free: 46.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008142/0.3114, allocations: 494.7 kB / 0.51 GB, free: 46.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008676/0.3123, allocations: 144.8 kB / 0.5102 GB, free: 46.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002723/0.315, allocations: 1.74 MB / 0.5119 GB, free: 45.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004326/0.3155, allocations: 1.02 MB / 0.5128 GB, free: 45.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004093/0.3159, allocations: 135.3 kB / 0.513 GB, free: 45.06 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002008/0.3161, allocations: 78.06 kB / 0.5131 GB, free: 45.05 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3161, allocations: 0.625 kB / 0.5131 GB, free: 45.05 MB / 382.1 MB Notification: Performance of Templates: time 0.0209/0.337, allocations: 12.51 MB / 0.5253 GB, free: 41.51 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)