Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.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) Ignoring simflag -noemit -cpu=() since it seems broken on HelloWorld Running command: translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004,tolerance=1e-08,outputFormat="empty",numberOfIntervals=195840,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004,tolerance=1e-08,outputFormat="empty",numberOfIntervals=195840,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02455/0.02455, allocations: 5.404 MB / 21.66 MB, free: 1.203 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.0009969/0.0009973, allocations: 108.2 kB / 23.65 MB, free: 0.7969 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.001124/0.001124, allocations: 200.9 kB / 25.78 MB, free: 4.531 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.314/1.314, allocations: 222.9 MB / 250.7 MB, free: 8.488 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009417/0.009417, allocations: 2.317 MB / 304.3 MB, free: 6.539 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.00167, allocations: 95.86 kB / 372.1 MB, free: 2.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1913, allocations: 51.21 MB / 423.3 MB, free: 25.86 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004): time 0.006201/0.1976, allocations: 6.845 MB / 430.2 MB, free: 18.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004412/0.202, allocations: 3.939 MB / 434.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00045/0.2025, allocations: 27.88 kB / 434.2 MB, free: 15 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00204/0.2046, allocations: 1.147 MB / 435.3 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001352/0.2059, allocations: 0.8687 MB / 436.2 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.2072, allocations: 0.546 MB / 436.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009369/0.2081, allocations: 1.41 MB / 438.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000999/0.2091, allocations: 1.013 MB / 439.1 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004529/0.2096, allocations: 0.5565 MB / 439.7 MB, free: 9.426 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005905/0.2102, allocations: 0.6847 MB / 440.4 MB, free: 8.738 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.2104, allocations: 140 kB / 440.5 MB, free: 8.602 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006122/0.211, allocations: 443.7 kB / 441 MB, free: 8.168 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001823/0.2112, allocations: 314.9 kB / 441.3 MB, free: 7.859 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003835/0.2116, allocations: 0.6374 MB / 441.9 MB, free: 7.219 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001279/0.2128, allocations: 1.795 MB / 443.7 MB, free: 5.418 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2129, allocations: 0 / 443.7 MB, free: 5.418 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2129, allocations: 0 / 443.7 MB, free: 5.418 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.2129, allocations: 0 / 443.7 MB, free: 5.418 MB / 302.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.003268/0.2162, allocations: 1.814 MB / 445.5 MB, free: 3.535 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.2162, allocations: 11.97 kB / 445.5 MB, free: 3.523 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001917/0.2181, allocations: 383.1 kB / 445.9 MB, free: 3.148 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001513/0.2196, allocations: 0.8283 MB / 446.7 MB, free: 2.273 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.254e-05/0.2197, allocations: 82.08 kB / 446.8 MB, free: 2.191 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.2198, allocations: 108 kB / 446.9 MB, free: 2.086 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/0.2216, allocations: 1.169 MB / 448.1 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.233e-05/0.2216, allocations: 3.938 kB / 448.1 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.959e-05/0.2217, allocations: 44 kB / 448.1 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.2217, allocations: 24 kB / 448.1 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00187/0.2236, allocations: 1.07 MB / 449.2 MB, free: 15.72 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005939/0.2295, allocations: 4.345 MB / 453.6 MB, free: 11.17 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002526/0.2321, allocations: 1.748 MB / 455.3 MB, free: 9.211 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006409/0.2328, allocations: 331.8 kB / 455.6 MB, free: 8.883 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/0.2329, allocations: 101.6 kB / 455.7 MB, free: 8.762 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007789/0.2337, allocations: 465.6 kB / 456.2 MB, free: 8.281 MB / 318.1 MB Notification: Performance of pre-optimization done (n=69): time 2.455e-06/0.2337, allocations: 0 / 456.2 MB, free: 8.281 MB / 318.1 MB Notification: Performance of matching and sorting (n=69): time 0.005677/0.2394, allocations: 1.585 MB / 457.8 MB, free: 6.656 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.2395, allocations: 226.2 kB / 458 MB, free: 6.387 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008684/0.2404, allocations: 0.6485 MB / 458.6 MB, free: 5.73 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.821e-05/0.2404, allocations: 45.7 kB / 458.7 MB, free: 5.68 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003827/0.2408, allocations: 0.5219 MB / 459.2 MB, free: 5.148 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001799/0.241, allocations: 232.7 kB / 459.4 MB, free: 4.918 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002724/0.2413, allocations: 186.5 kB / 459.6 MB, free: 4.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.2415, allocations: 386.7 kB / 460 MB, free: 4.344 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006496/0.2421, allocations: 301.8 kB / 460.3 MB, free: 4.047 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007824/0.2429, allocations: 0.5387 MB / 460.8 MB, free: 3.406 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/0.2444, allocations: 0.9322 MB / 461.8 MB, free: 2.352 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.2444, allocations: 7.938 kB / 461.8 MB, free: 2.344 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002167/0.2465, allocations: 1.106 MB / 462.9 MB, free: 1.215 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.848e-05/0.2466, allocations: 67.67 kB / 462.9 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.2466, allocations: 12 kB / 462.9 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004629/0.2471, allocations: 84.73 kB / 463 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008478/0.248, allocations: 223.6 kB / 463.2 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001474/0.2494, allocations: 1.585 MB / 464.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007477/0.2502, allocations: 99.11 kB / 464.9 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.712e-05/0.2503, allocations: 47.97 kB / 465 MB, free: 14.95 MB / 334.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.0004613/0.2508, allocations: 347.2 kB / 465.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.2509, allocations: 79.06 kB / 465.4 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00204/0.2529, allocations: 1.01 MB / 466.4 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.253, allocations: 4 kB / 466.4 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.253, allocations: 0 / 466.4 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.253, allocations: 4 kB / 466.4 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006021/0.259, allocations: 2.306 MB / 468.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.259, allocations: 4.031 kB / 468.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003866/0.2594, allocations: 95.89 kB / 468.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008603/0.2603, allocations: 330.2 kB / 469.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.838e-05/0.2604, allocations: 27.97 kB / 469.2 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001276/0.2617, allocations: 0.9051 MB / 470.1 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2617, allocations: 0 / 470.1 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003152/0.2648, allocations: 1.406 MB / 471.5 MB, free: 8.238 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004196/0.2653, allocations: 220 kB / 471.7 MB, free: 8.004 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/0.2654, allocations: 31.88 kB / 471.7 MB, free: 7.973 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005593/0.266, allocations: 51.95 kB / 471.8 MB, free: 7.922 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.833e-05/0.2661, allocations: 40.5 kB / 471.8 MB, free: 7.883 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.696e-05/0.2662, allocations: 31.98 kB / 471.8 MB, free: 7.852 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005671/0.2668, allocations: 451 kB / 472.3 MB, free: 7.414 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2668, allocations: 0 / 472.3 MB, free: 7.414 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001092/0.2679, allocations: 323 kB / 472.6 MB, free: 7.098 MB / 334.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.001563/0.2694, allocations: 0.6585 MB / 473.3 MB, free: 6.676 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001879/0.2713, allocations: 0.9884 MB / 474.2 MB, free: 5.645 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.2713, allocations: 8.062 kB / 474.3 MB, free: 5.637 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008295/0.2722, allocations: 0.49 MB / 474.7 MB, free: 5.121 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007841/0.273, allocations: 150.6 kB / 474.9 MB, free: 4.977 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002959/0.2759, allocations: 1.745 MB / 476.6 MB, free: 3.199 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005382/0.2765, allocations: 1.014 MB / 477.6 MB, free: 2.156 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004144/0.2769, allocations: 130.4 kB / 477.8 MB, free: 2.023 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002045/0.2771, allocations: 87.39 kB / 477.9 MB, free: 1.938 MB / 334.1 MB Notification: Performance of SimCode: time 6.62e-07/0.2771, allocations: 0 / 477.9 MB, free: 1.938 MB / 334.1 MB Notification: Performance of Templates: time 0.0207/0.2978, allocations: 12.04 MB / 489.9 MB, free: 5.988 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004 -jacobian=coloredNumerical -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.pipe 2>&1)