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.02879/0.02879, allocations: 5.396 MB / 21.65 MB, free: 1.074 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.001034/0.001034, allocations: 109.7 kB / 23.65 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.001138/0.001138, allocations: 202.6 kB / 25.78 MB, free: 4.527 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.243/1.243, allocations: 222.9 MB / 250.6 MB, free: 8.445 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008962/0.008962, allocations: 2.328 MB / 304.3 MB, free: 6.508 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001688, allocations: 95.84 kB / 368.6 MB, free: 6.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1919, allocations: 51.21 MB / 419.8 MB, free: 26.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704): time 0.005697/0.1977, allocations: 6.838 MB / 426.7 MB, free: 19.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005234/0.2029, allocations: 3.947 MB / 430.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004458/0.2034, allocations: 16 kB / 430.6 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002205/0.2056, allocations: 1.162 MB / 431.8 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001509/0.2071, allocations: 0.8576 MB / 432.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001392/0.2085, allocations: 0.5469 MB / 433.2 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009303/0.2095, allocations: 1.402 MB / 434.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/0.2105, allocations: 1.024 MB / 435.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004116/0.2109, allocations: 0.5565 MB / 436.2 MB, free: 9.867 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005871/0.2115, allocations: 0.6925 MB / 436.9 MB, free: 9.172 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001338/0.2117, allocations: 144 kB / 437 MB, free: 9.031 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005827/0.2123, allocations: 439.6 kB / 437.4 MB, free: 8.602 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001954/0.2125, allocations: 314.9 kB / 437.7 MB, free: 8.293 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003997/0.2129, allocations: 0.6336 MB / 438.4 MB, free: 7.656 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001269/0.2142, allocations: 1.799 MB / 440.2 MB, free: 5.852 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2142, allocations: 0 / 440.2 MB, free: 5.852 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2142, allocations: 3.938 kB / 440.2 MB, free: 5.848 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.2142, allocations: 0 / 440.2 MB, free: 5.848 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.003315/0.2175, allocations: 1.806 MB / 442 MB, free: 3.973 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.2176, allocations: 8.031 kB / 442 MB, free: 3.965 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001878/0.2194, allocations: 383.1 kB / 442.4 MB, free: 3.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001503/0.221, allocations: 0.8399 MB / 443.2 MB, free: 2.703 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.569e-05/0.221, allocations: 82.08 kB / 443.3 MB, free: 2.621 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.2211, allocations: 104 kB / 443.4 MB, free: 2.52 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001579/0.2227, allocations: 1.169 MB / 444.6 MB, free: 1.289 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.078e-05/0.2228, allocations: 0 / 444.6 MB, free: 1.289 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.525e-05/0.2229, allocations: 47.98 kB / 444.6 MB, free: 1.242 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.2229, allocations: 24 kB / 444.6 MB, free: 1.219 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001661/0.2246, allocations: 1.066 MB / 445.7 MB, free: 160 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005924/0.2305, allocations: 4.349 MB / 450 MB, free: 11.6 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002558/0.2331, allocations: 1.744 MB / 451.8 MB, free: 9.645 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006598/0.2337, allocations: 323.8 kB / 452.1 MB, free: 9.324 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.2338, allocations: 93.66 kB / 452.2 MB, free: 9.211 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008583/0.2347, allocations: 473.6 kB / 452.7 MB, free: 8.723 MB / 318.1 MB Notification: Performance of pre-optimization done (n=69): time 2.545e-06/0.2347, allocations: 0 / 452.7 MB, free: 8.723 MB / 318.1 MB Notification: Performance of matching and sorting (n=69): time 0.00562/0.2404, allocations: 1.588 MB / 454.2 MB, free: 7.094 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.2405, allocations: 218.2 kB / 454.5 MB, free: 6.832 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007506/0.2412, allocations: 0.6486 MB / 455.1 MB, free: 6.176 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.828e-05/0.2413, allocations: 45.73 kB / 455.1 MB, free: 6.125 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003524/0.2416, allocations: 0.5219 MB / 455.7 MB, free: 5.594 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001753/0.2418, allocations: 232.8 kB / 455.9 MB, free: 5.363 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002745/0.2421, allocations: 186.5 kB / 456.1 MB, free: 5.176 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.2423, allocations: 386.7 kB / 456.5 MB, free: 4.789 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006149/0.2429, allocations: 301.8 kB / 456.8 MB, free: 4.492 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007464/0.2437, allocations: 0.5386 MB / 457.3 MB, free: 3.852 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001365/0.245, allocations: 0.936 MB / 458.2 MB, free: 2.793 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.245, allocations: 4 kB / 458.2 MB, free: 2.789 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002074/0.2471, allocations: 1.11 MB / 459.3 MB, free: 1.656 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.041e-05/0.2472, allocations: 67.69 kB / 459.4 MB, free: 1.578 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.2472, allocations: 11.94 kB / 459.4 MB, free: 1.566 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004634/0.2477, allocations: 84.78 kB / 459.5 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008257/0.2485, allocations: 227.5 kB / 459.7 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/0.25, allocations: 1.578 MB / 461.3 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000664/0.2506, allocations: 111.1 kB / 461.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.59e-05/0.2507, allocations: 43.98 kB / 461.5 MB, free: 15.39 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.0003997/0.2511, allocations: 343.2 kB / 461.8 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.2513, allocations: 79.06 kB / 461.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001959/0.2532, allocations: 1.007 MB / 462.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.2533, allocations: 8 kB / 462.9 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.2533, allocations: 0 / 462.9 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.2533, allocations: 3.984 kB / 462.9 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00587/0.2591, allocations: 2.31 MB / 465.2 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.2592, allocations: 0 / 465.2 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003543/0.2595, allocations: 95.89 kB / 465.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000767/0.2603, allocations: 330.3 kB / 465.6 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.164e-05/0.2604, allocations: 27.97 kB / 465.6 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001208/0.2616, allocations: 0.9051 MB / 466.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.2616, allocations: 0 / 466.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002472/0.2641, allocations: 1.406 MB / 467.9 MB, free: 8.68 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002965/0.2644, allocations: 220 kB / 468.2 MB, free: 8.445 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.2645, allocations: 27.94 kB / 468.2 MB, free: 8.418 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005303/0.2651, allocations: 51.95 kB / 468.2 MB, free: 8.367 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.362e-05/0.2651, allocations: 40.52 kB / 468.3 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.007e-05/0.2652, allocations: 27.97 kB / 468.3 MB, free: 8.301 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005241/0.2657, allocations: 455 kB / 468.7 MB, free: 7.859 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2658, allocations: 0 / 468.7 MB, free: 7.859 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009137/0.2667, allocations: 330.9 kB / 469.1 MB, free: 7.535 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.001362/0.268, allocations: 0.6605 MB / 469.7 MB, free: 7.109 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001795/0.2698, allocations: 0.9922 MB / 470.7 MB, free: 6.074 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2699, allocations: 0 / 470.7 MB, free: 6.074 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008047/0.2707, allocations: 497.8 kB / 471.2 MB, free: 5.562 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007465/0.2714, allocations: 164.5 kB / 471.4 MB, free: 5.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002815/0.2743, allocations: 1.737 MB / 473.1 MB, free: 3.641 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000538/0.2748, allocations: 1.018 MB / 474.1 MB, free: 2.594 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003975/0.2752, allocations: 134.3 kB / 474.3 MB, free: 2.457 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001918/0.2754, allocations: 79.39 kB / 474.3 MB, free: 2.379 MB / 334.1 MB Notification: Performance of SimCode: time 6.61e-07/0.2754, allocations: 0 / 474.3 MB, free: 2.379 MB / 334.1 MB Notification: Performance of Templates: time 0.01904/0.2945, allocations: 12.04 MB / 486.4 MB, free: 6.43 MB / 350.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 -s gbode -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe 2>&1)